diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-21 00:27:10 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:28 -0400 |
commit | 7a6f4411aeaae888a7b2880f0c046f9efb0d83cc (patch) | |
tree | 0120fa37627bed6ce926aedf2e1902865d532acc /fs/bcachefs/opts.h | |
parent | 63c4b25453828ee0670162d35f928ab43635e7fc (diff) | |
download | linux-stable-7a6f4411aeaae888a7b2880f0c046f9efb0d83cc.tar.gz linux-stable-7a6f4411aeaae888a7b2880f0c046f9efb0d83cc.tar.bz2 linux-stable-7a6f4411aeaae888a7b2880f0c046f9efb0d83cc.zip |
bcachefs: Make minimum journal_flush_delay nonzero
We're seeing a very strange bug where journal_flush_delay sometimes gets
set to 0 in the superblock. Together with the preceding patch, this
should help us track it down.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/opts.h')
-rw-r--r-- | fs/bcachefs/opts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h index 69ca75429943..b45740ec3c67 100644 --- a/fs/bcachefs/opts.h +++ b/fs/bcachefs/opts.h @@ -275,7 +275,7 @@ enum opt_type { NULL, "Extra debugging information during mount/recovery")\ x(journal_flush_delay, u32, \ OPT_FS|OPT_MOUNT|OPT_RUNTIME, \ - OPT_UINT(0, U32_MAX), \ + OPT_UINT(1, U32_MAX), \ BCH_SB_JOURNAL_FLUSH_DELAY, 1000, \ NULL, "Delay in milliseconds before automatic journal commits")\ x(journal_flush_disabled, u8, \ |