summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_sysctl.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-07-03 16:33:26 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2019-07-03 16:33:26 +0200
commit40786717c88c2d4cb426cc2eb99ac50000e5a910 (patch)
tree8e523335fd5194d14ec57698f93bfa7f26c45357 /fs/xfs/xfs_sysctl.h
parentxfs: refactor INUMBERS to use iwalk functions (diff)
downloadlinux-40786717c88c2d4cb426cc2eb99ac50000e5a910.tar.xz
linux-40786717c88c2d4cb426cc2eb99ac50000e5a910.zip
xfs: multithreaded iwalk implementation
Create a parallel iwalk implementation and switch quotacheck to use it. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_sysctl.h')
-rw-r--r--fs/xfs/xfs_sysctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_sysctl.h b/fs/xfs/xfs_sysctl.h
index ad7f9be13087..8abf4640f1d5 100644
--- a/fs/xfs/xfs_sysctl.h
+++ b/fs/xfs/xfs_sysctl.h
@@ -82,6 +82,9 @@ enum {
extern xfs_param_t xfs_params;
struct xfs_globals {
+#ifdef DEBUG
+ int pwork_threads; /* parallel workqueue threads */
+#endif
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 */