summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/opts.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-06-22 17:56:25 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:34 -0400
commit5a3c24714c8bd5e0d01d1547c0848147f2f79f69 (patch)
treed8a864e3d6b10a565892dfaf1adc7d890f8aeaca /fs/bcachefs/opts.h
parent54feff0a7ac5ae44b99e697f0fadf81471b33801 (diff)
downloadlinux-5a3c24714c8bd5e0d01d1547c0848147f2f79f69.tar.gz
linux-5a3c24714c8bd5e0d01d1547c0848147f2f79f69.tar.bz2
linux-5a3c24714c8bd5e0d01d1547c0848147f2f79f69.zip
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: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/opts.h')
-rw-r--r--fs/bcachefs/opts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h
index 43b4488b8c6f..30cf9a2d9dc1 100644
--- a/fs/bcachefs/opts.h
+++ b/fs/bcachefs/opts.h
@@ -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")\