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>
This commit is contained in:
@@ -15,6 +15,8 @@ typedef int (*xfs_iwalk_fn)(struct xfs_mount *mp, struct xfs_trans *tp,
|
||||
|
||||
int xfs_iwalk(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino,
|
||||
xfs_iwalk_fn iwalk_fn, unsigned int inode_records, void *data);
|
||||
int xfs_iwalk_threaded(struct xfs_mount *mp, xfs_ino_t startino,
|
||||
xfs_iwalk_fn iwalk_fn, unsigned int inode_records, void *data);
|
||||
|
||||
/* Walk all inode btree records in the filesystem starting from @startino. */
|
||||
typedef int (*xfs_inobt_walk_fn)(struct xfs_mount *mp, struct xfs_trans *tp,
|
||||
|
Reference in New Issue
Block a user