Skip to content

Commit b96f8cd

Browse files
author
Kent Overstreet
committed
bcachefs: Run in-kernel offline fsck without ratelimit errors
Signed-off-by: Kent Overstreet <[email protected]>
1 parent 489ecc4 commit b96f8cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/bcachefs/chardev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ static long bch2_ioctl_fsck_offline(struct bch_ioctl_fsck_offline __user *user_a
225225

226226
opt_set(thr->opts, stdio, (u64)(unsigned long)&thr->thr.stdio);
227227
opt_set(thr->opts, read_only, 1);
228+
opt_set(thr->opts, ratelimit_errors, 0);
228229

229230
/* We need request_key() to be called before we punt to kthread: */
230231
opt_set(thr->opts, nostart, true);

0 commit comments

Comments
 (0)