Displaying 2 results from an estimated 2 matches for "bdqrrc".
Did you mean:
bdqrr
2013 Dec 02
0
[PATCH] Btrfs-progs: add option to skip whether a scrub has started/resumed in userspace
...mds-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'':
do_background = 0;
@@ -1123,6 +1124,9 @@ static int scrub_start(int argc, char **argv, int resume)
case ''n'':
ioprio_classdata = (int)str...
2012 Feb 06
0
[PATCH] Btrfs-progs: make scrub IO priority configurable
...E */
+ int ioprio_classdata = 0;
int n_start = 0;
int n_skip = 0;
int n_resume = 0;
@@ -1093,7 +1110,7 @@ static int scrub_start(int argc, char **argv, int resume)
u64 devid;
optind = 1;
- while ((c = getopt(argc, argv, "BdqrR")) != -1) {
+ while ((c = getopt(argc, argv, "BdqrRc:n:")) != -1) {
switch (c) {
case ''B'':
do_background = 0;
@@ -1112,13 +1129,23 @@ static int scrub_start(int argc, char **argv, int resume)
case ''R'':
print_raw = 1;
break;
+ case ''c'':
+ ioprio_class = (int)strtol(opta...