From 0806151913dff8547aae3713c1f793eb5d702b96 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 21 Jun 2021 16:28:43 -0400 Subject: bcachefs: Don't ratelimit certain fsck errors It's unhelpful if we see "Halting mark and sweep to start topology repair" but we don't see the error that triggered it. Signed-off-by: Kent Overstreet --- fs/bcachefs/error.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/bcachefs/error.h') diff --git a/fs/bcachefs/error.h b/fs/bcachefs/error.h index d8cd19b3f63c..986938298adc 100644 --- a/fs/bcachefs/error.h +++ b/fs/bcachefs/error.h @@ -104,6 +104,7 @@ struct fsck_err_state { #define FSCK_CAN_FIX (1 << 0) #define FSCK_CAN_IGNORE (1 << 1) #define FSCK_NEED_FSCK (1 << 2) +#define FSCK_NO_RATELIMIT (1 << 3) __printf(3, 4) __cold enum fsck_err_ret bch2_fsck_err(struct bch_fs *, -- cgit v1.2.3