Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH v1 0/3] btrfs-progs: scrub interface
@ 2011-03-12 18:31 Jan Schmidt
  2011-03-12 18:31 ` [PATCH v1 1/3] commands added Jan Schmidt
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jan Schmidt @ 2011-03-12 18:31 UTC (permalink / raw)
  To: chris.mason, linux-btrfs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-12 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-12 18:31 [PATCH v1 0/3] btrfs-progs: scrub interface Jan Schmidt
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox