summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_sysctl.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-05 17:43:27 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-08-25 22:25:51 -0700
commitcb0da63ecd87e0b8253c832811d6a1ea06f170ac (patch)
treeb1a9365962d64309b16b571f5f95d6ad9759cdad /fs/xfs/xfs_sysctl.h
parent64ccdb92456fed75b556fbd839f32e8bf009889f (diff)
xfs: add debug knobs to control btree bulk load slack factors
Add some debug knobs so that we can control the leaf and node block slack when rebuilding btrees. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_sysctl.h')
-rw-r--r--fs/xfs/xfs_sysctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_sysctl.h b/fs/xfs/xfs_sysctl.h
index 7692e76ead33..c8ad129b42e7 100644
--- a/fs/xfs/xfs_sysctl.h
+++ b/fs/xfs/xfs_sysctl.h
@@ -84,6 +84,8 @@ struct xfs_globals {
#ifdef DEBUG
int pwork_threads; /* parallel workqueue threads */
#endif
+ int bload_leaf_slack; /* btree bulk load leaf slack */
+ int bload_node_slack; /* btree bulk load node slack */
int log_recovery_delay; /* log recovery delay (secs) */
int mount_delay; /* mount setup delay (secs) */
bool bug_on_assert; /* BUG() the kernel on assert failure */