Commit 37fd6b81 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: rebalance, copygc enabled are runtime opts



Fix a regression from when these were switched to normal opts.h options.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 2efbc351
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -476,13 +476,13 @@ enum fsck_err_opts {
	  NULL,		"Enable nocow mode: enables runtime locking in\n"\
			"data move path needed if nocow will ever be in use\n")\
	x(copygc_enabled,		u8,				\
	  OPT_FS|OPT_MOUNT,						\
	  OPT_FS|OPT_MOUNT|OPT_RUNTIME,					\
	  OPT_BOOL(),							\
	  BCH2_NO_SB_OPT,			true,			\
	  NULL,		"Enable copygc: disable for debugging, or to\n"\
			"quiet the system when doing performance testing\n")\
	x(rebalance_enabled,		u8,				\
	  OPT_FS|OPT_MOUNT,						\
	  OPT_FS|OPT_MOUNT|OPT_RUNTIME,					\
	  OPT_BOOL(),							\
	  BCH2_NO_SB_OPT,			true,			\
	  NULL,		"Enable rebalance: disable for debugging, or to\n"\