bcachefs: Make verbose option settable at runtime
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 22 Jun 2022 21:56:25 +0000 (17:56 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:34 +0000 (17:09 -0400)
-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: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/opts.h

index 43b4488b8c6f7b38ef69a2ed56503eebb3306bd8..30cf9a2d9dc1a47b04073bed25606a19668344ff 100644 (file)
@@ -269,7 +269,7 @@ enum opt_type {
          BCH2_NO_SB_OPT,               true,                           \
          NULL,         "Enable discard/TRIM support")                  \
        x(verbose,                      u8,                             \
-         OPT_FS|OPT_MOUNT,                                             \
+         OPT_FS|OPT_MOUNT|OPT_RUNTIME,                                 \
          OPT_BOOL(),                                                   \
          BCH2_NO_SB_OPT,               false,                          \
          NULL,         "Extra debugging information during mount/recovery")\