From: Jan Schmidt <list.btrfs@jan-o-sch.net>
To: chris.mason@oracle.com, linux-btrfs@vger.kernel.org
Subject: [PATCH v1 0/3] btrfs-progs: scrub interface
Date: Sat, 12 Mar 2011 19:31:32 +0100 [thread overview]
Message-ID: <cover.1299954564.git.list.btrfs@jan-o-sch.net> (raw)
This patch set for btrfs-progs is meant to be used together with the scrub kernel patches submitted by Arne Jansen (latest Subject: [PATCH v3 0/6] btrfs: scrub).
Short usage:
A scrub process for all devices of a (mounted) file system can be startet with:
btrfs filesystem scrub start /mnt/btrfs
A running scrub can be canceled with:
btrfs filesystem scrub cancel /mnt/btrfs
A canceled (manually or due to crash) scrub can be resumed with:
btrfs filesystem scrub start -r /mnt/btrfs
Status of running or finished scrub can be obtained with:
btrfs filesystem scrub status /mnt/btrfs
Any scrub sub-command has a short explanation of options when -h is used instead of a file system.
Thanks,
Jan
Jan Schmidt (3):
commands added
scrub ioctls
added scrub functionality
Makefile | 4 +-
btrfs.c | 12 +
btrfs_cmds.c | 3 +-
btrfs_cmds.h | 4 +
ctree.h | 2 +-
ioctl.h | 68 +++-
scrub.c | 1425 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 1513 insertions(+), 5 deletions(-)
create mode 100644 scrub.c
--
1.7.3.4
next reply other threads:[~2011-03-12 18:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-12 18:31 Jan Schmidt [this message]
2011-03-12 18:31 ` [PATCH v1 1/3] commands added Jan Schmidt
2011-03-12 18:31 ` [PATCH v1 2/3] scrub ioctls Jan Schmidt
2011-03-12 18:31 ` [PATCH v1 3/3] added scrub functionality Jan Schmidt
2011-03-12 20:39 ` [PATCH v1 0/3] btrfs-progs: scrub interface Hubert Kario
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1299954564.git.list.btrfs@jan-o-sch.net \
--to=list.btrfs@jan-o-sch.net \
--cc=chris.mason@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox