bcachefs: Verbose on by default when CONFIG_BCACHEFS_DEBUG=y
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
db64a8e8a1
commit
adac06fad3
@ -92,6 +92,12 @@ enum opt_type {
|
|||||||
#define RATELIMIT_ERRORS_DEFAULT false
|
#define RATELIMIT_ERRORS_DEFAULT false
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_BCACHEFS_DEBUG
|
||||||
|
#define BCACHEFS_VERBOSE_DEFAULT true
|
||||||
|
#else
|
||||||
|
#define BCACHEFS_VERBOSE_DEFAULT false
|
||||||
|
#endif
|
||||||
|
|
||||||
#define BCH_OPTS() \
|
#define BCH_OPTS() \
|
||||||
x(block_size, u16, \
|
x(block_size, u16, \
|
||||||
OPT_FS|OPT_FORMAT| \
|
OPT_FS|OPT_FORMAT| \
|
||||||
@ -276,7 +282,7 @@ enum opt_type {
|
|||||||
x(verbose, u8, \
|
x(verbose, u8, \
|
||||||
OPT_FS|OPT_MOUNT|OPT_RUNTIME, \
|
OPT_FS|OPT_MOUNT|OPT_RUNTIME, \
|
||||||
OPT_BOOL(), \
|
OPT_BOOL(), \
|
||||||
BCH2_NO_SB_OPT, false, \
|
BCH2_NO_SB_OPT, BCACHEFS_VERBOSE_DEFAULT, \
|
||||||
NULL, "Extra debugging information during mount/recovery")\
|
NULL, "Extra debugging information during mount/recovery")\
|
||||||
x(journal_flush_delay, u32, \
|
x(journal_flush_delay, u32, \
|
||||||
OPT_FS|OPT_MOUNT|OPT_RUNTIME, \
|
OPT_FS|OPT_MOUNT|OPT_RUNTIME, \
|
||||||
|
Loading…
Reference in New Issue
Block a user