path: root/man
diff options
authorWang Shilong <>2013-12-02 14:42:25 +0800
committerChris Mason <>2014-01-31 08:22:11 -0800
commitf8675eb30ff5757402bd9dbde51bebc61fdff67e (patch)
treeaadce9d45283842bca4466946f23b3875e75f446 /man
parentb94a3003aebe235171383ced624da10b2a2fa94b (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 <> Signed-off-by: David Sterba <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'man')
1 files changed, 4 insertions, 1 deletions
diff --git a/man/ b/man/
index b6203483..d5515e0a 100644
--- a/man/
+++ b/man/
@@ -58,7 +58,7 @@ btrfs \- control a btrfs filesystem
\fBbtrfs\fP \fBdevice stats\fP [-z] {\fI<path>\fP|\fI<device>\fP}
-\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}
\fBbtrfs\fP \fBscrub cancel\fP {\fI<path>\fP|\fI<device>\fP}
@@ -461,6 +461,9 @@ manpage).
Set IO priority classdata (see
.BR ionice (1)
+.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.