diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-07-03 16:33:26 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-07-03 16:33:26 +0200 |
commit | 40786717c88c2d4cb426cc2eb99ac50000e5a910 (patch) | |
tree | 8e523335fd5194d14ec57698f93bfa7f26c45357 /fs/xfs/xfs_qm.c | |
parent | xfs: refactor INUMBERS to use iwalk functions (diff) | |
download | linux-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_qm.c')
-rw-r--r-- | fs/xfs/xfs_qm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index 588e36fe43f2..fb7a41fdde7f 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -1300,7 +1300,7 @@ xfs_qm_quotacheck( flags |= XFS_PQUOTA_CHKD; } - error = xfs_iwalk(mp, NULL, 0, xfs_qm_dqusage_adjust, 0, NULL); + error = xfs_iwalk_threaded(mp, 0, xfs_qm_dqusage_adjust, 0, NULL); if (error) goto error_return; |