Commit 5a3c2471 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Make verbose option settable at runtime

-o verbose is very useful, and we're starting to use it more for runtime
debug statements - making it possible to enable at runtime is a no
brainer.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent 54feff0a
...@@ -269,7 +269,7 @@ enum opt_type { ...@@ -269,7 +269,7 @@ enum opt_type {
BCH2_NO_SB_OPT, true, \ BCH2_NO_SB_OPT, true, \
NULL, "Enable discard/TRIM support") \ NULL, "Enable discard/TRIM support") \
x(verbose, u8, \ x(verbose, u8, \
OPT_FS|OPT_MOUNT, \ OPT_FS|OPT_MOUNT|OPT_RUNTIME, \
OPT_BOOL(), \ OPT_BOOL(), \
BCH2_NO_SB_OPT, false, \ BCH2_NO_SB_OPT, false, \
NULL, "Extra debugging information during mount/recovery")\ NULL, "Extra debugging information during mount/recovery")\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment