diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2013-12-02 14:42:25 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-31 08:22:11 -0800 |
commit | f8675eb30ff5757402bd9dbde51bebc61fdff67e (patch) | |
tree | aadce9d45283842bca4466946f23b3875e75f446 /man | |
parent | b94a3003aebe235171383ced624da10b2a2fa94b (diff) |
Btrfs-progs: add option to skip whether a scrub has started/resumed in userspace
I hit a problem that i can not start scrub when i am trying to track
superblock generation mismatch problems.
The fact is that we are trying to check whether we have started a scrub operation
in userspace, this will make us can't start scrub if that record file is damaged
itself. By adding a option to skip that check, everything will be fine.
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/btrfs.8.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in index b6203483..d5515e0a 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -58,7 +58,7 @@ btrfs \- control a btrfs filesystem \fBbtrfs\fP \fBdevice stats\fP [-z] {\fI<path>\fP|\fI<device>\fP} .PP .PP -\fBbtrfs\fP \fBscrub start\fP [-BdqrR] [-c \fIioprio_class\fP -n \fIioprio_classdata\fP] {\fI<path>\fP|\fI<device>\fP} +\fBbtrfs\fP \fBscrub start\fP [-BdqrRf] [-c \fIioprio_class\fP -n \fIioprio_classdata\fP] {\fI<path>\fP|\fI<device>\fP} .PP \fBbtrfs\fP \fBscrub cancel\fP {\fI<path>\fP|\fI<device>\fP} .PP @@ -461,6 +461,9 @@ manpage). Set IO priority classdata (see .BR ionice (1) manpage). +.IP "\fB-f\fP" 5 +force to check whether scrub has started or resumed in userspace. +this is useful when scrub stat record file is damaged. .RE .TP |