linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] btrfs-progs: scrub interface
@ 2011-07-18 12:37 Jan Schmidt
  2011-07-18 12:37 ` [PATCH v3 1/5] btrfs-progs: commands added Jan Schmidt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jan Schmidt @ 2011-07-18 12:37 UTC (permalink / raw)
  To: chris.mason, linux-btrfs

This is the next patch series for scrub userland tools.

Change log v1->v2:
- commands now reachable as "btrfs scrub ..." instead of "btrfs filesystem
  scrub ..."
- ability to scrub a single device instead of a whole file system
- superfluous command line options removed
- resume is now a separate command ("scrub resume") instead of "scrub start -r"
- read-only mode (which inherited the -r option immediately, sorry for that)
- up to date progress numbers with "btrfs scrub status" while scrub is running
- effective locking to protect against multiple scrubs on a filesystem
- man page entry for scrub added

Change log v2->v3:
- unverified_errors counter added
- return code of utility now depends on detected disk errors
- bail out when check_mounted_where returns an error
- changes as suggested by Hugo Mill's review. incomplete list:
	- style (checkpatch is happy now)
	- pthread_* error handling
	- use /var/lib/btrfs instead of /var/btrfs for storing history

Attention: This version may be useful for Hugo, only. It is meant to be
	   included in his current integration branch. Also, I wanted to avoid
	   patching the patches previously sent and rather deliver a fresh
	   version. Therefore, I used "integration-20110705" from
	   http://git.darksatanic.net/repo/btrfs-progs-unstable.git/ as a base,
	   reverted the scrub patches in the middle and built upon that.

-Jan

Jan Schmidt (5):
  btrfs-progs: commands added
  btrfs-progs: scrub ioctls
  btrfs-progs: added check_mounted_where
  btrfs-progs: scrub userland implementation
  btrfs-progs: scrub added to manpage

 Makefile       |    4 +-
 btrfs.c        |   23 +
 btrfs_cmds.c   |    2 +-
 btrfs_cmds.h   |    5 +
 ctree.h        |    2 +-
 ioctl.h        |   54 ++-
 man/btrfs.8.in |   64 +++-
 scrub.c        | 1666 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 utils.c        |   29 +-
 utils.h        |    2 +
 10 files changed, 1838 insertions(+), 13 deletions(-)
 create mode 100644 scrub.c

-- 
1.7.3.4


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

end of thread, other threads:[~2011-07-18 12:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18 12:37 [PATCH v3 0/5] btrfs-progs: scrub interface Jan Schmidt
2011-07-18 12:37 ` [PATCH v3 1/5] btrfs-progs: commands added Jan Schmidt
2011-07-18 12:37 ` [PATCH v3 2/5] btrfs-progs: scrub ioctls Jan Schmidt
2011-07-18 12:37 ` [PATCH v3 3/5] btrfs-progs: added check_mounted_where Jan Schmidt
2011-07-18 12:37 ` [PATCH v3 4/5] btrfs-progs: scrub userland implementation Jan Schmidt
2011-07-18 12:37 ` [PATCH v3 5/5] btrfs-progs: scrub added to manpage Jan Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).