diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-21 03:03:03 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:28 -0400 |
commit | b8559f1a212a7035b430b83e0a01e94a872adc23 (patch) | |
tree | 3c9287001560b6c210a491d27c5cefb6b2b556f5 /fs/bcachefs/util.h | |
parent | b0be2fcfb425022025203c27ed75a20db8c6feda (diff) | |
download | linux-b8559f1a212a7035b430b83e0a01e94a872adc23.tar.gz linux-b8559f1a212a7035b430b83e0a01e94a872adc23.tar.bz2 linux-b8559f1a212a7035b430b83e0a01e94a872adc23.zip |
bcachefs: Reset journal flush delay to default value if zeroed
We've been seeing a very strange bug where journal flush & reclaim delay
end up getting inexplicably zeroed, in the superblock. We're now
validating all the options in bch2_validate_super(), and 0 is no longer
a valid value for those options, but we need to be careful not to
prevent people's filesystems from mounting because of the new
validation.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/util.h')
0 files changed, 0 insertions, 0 deletions