]> www.infradead.org Git - users/hch/dma-mapping.git/commitdiff
bcachefs: Run in-kernel offline fsck without ratelimit errors
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Oct 2024 02:29:23 +0000 (22:29 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Oct 2024 04:49:48 +0000 (00:49 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/chardev.c

index cbfd88f9847237afa1e20af1ea94eb41cbeeb434..2182b555c112cc6c66949e2ebf84937971a185ba 100644 (file)
@@ -225,6 +225,7 @@ static long bch2_ioctl_fsck_offline(struct bch_ioctl_fsck_offline __user *user_a
 
        opt_set(thr->opts, stdio, (u64)(unsigned long)&thr->thr.stdio);
        opt_set(thr->opts, read_only, 1);
+       opt_set(thr->opts, ratelimit_errors, 0);
 
        /* We need request_key() to be called before we punt to kthread: */
        opt_set(thr->opts, nostart, true);