search for: scrub_start

Displaying 4 results from an estimated 4 matches for "scrub_start".

2013 Dec 02
0
[PATCH] Btrfs-progs: add option to skip whether a scrub has started/resumed in userspace
...long <wangsl.fnst@cn.fujitsu.com> --- cmds-scrub.c | 12 +++++++++--- man/btrfs.8.in | 5 ++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/cmds-scrub.c b/cmds-scrub.c index 605af45..9f614bc 100644 --- a/cmds-scrub.c +++ b/cmds-scrub.c @@ -1096,9 +1096,10 @@ static int scrub_start(int argc, char **argv, int resume) void *terr; u64 devid; DIR *dirstream = NULL; + int force = 0; optind = 1; - while ((c = getopt(argc, argv, "BdqrRc:n:")) != -1) { + while ((c = getopt(argc, argv, "BdqrRc:n:f")) != -1) { switch (c) { case ''B'':...
2012 Feb 06
0
[PATCH] Btrfs-progs: make scrub IO priority configurable
...3 +++++++++++++++++++++++++++++++-- 3 files changed, 54 insertions(+), 8 deletions(-) diff --git a/btrfs.c b/btrfs.c index 1def354..ab9fcee 100644 --- a/btrfs.c +++ b/btrfs.c @@ -131,12 +131,15 @@ static struct Command commands[] = { "The filesystem must be unmounted.\n" }, { do_scrub_start, -1, - "scrub start", "[-Bdqr] <path>|<device>\n" + "scrub start", + "[-Bdqr] [-c ioprio_class -n ioprio_classdata] <path>|<device>\n" "Start a new scrub.", "\n-B do not background\n" "-d stats...
2011 Jul 18
5
[PATCH v3 0/5] btrfs-progs: scrub interface
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" -
2011 Jul 19
6
[PATCH 0/6] Move the infor for the help/man page in the source
The following series implement a way to generate the help messages and the btrfs man page from the sources comments for the "btrfs" commanda . The syntax and the detailed help of every subcommand are stored in the comments before the function which implements the subcommand. The fact that the help messages and the man page are generated from the same source should help to avoid