projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c4b25
)
bcachefs: Make minimum journal_flush_delay nonzero
author
Kent Overstreet
<kent.overstreet@gmail.com>
Mon, 21 Mar 2022 04:27:10 +0000
(
00:27
-0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:28 +0000
(17:09 -0400)
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>
fs/bcachefs/opts.h
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/opts.h
b/fs/bcachefs/opts.h
index 69ca75429943130e74aebbd7d84898e962420992..b45740ec3c67392192bf8cabeba0a6e1cdd58b7a 100644
(file)
--- 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, \