xfs: halt auto-reclamation activities while rebuilding rmap
Rebuilding the reverse-mapping tree requires us to quiesce all inodes in the filesystem, so we must stop background reclamation of post-EOF and CoW prealloc blocks. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
@@ -131,4 +131,7 @@ xfs_fs_eofblocks_from_user(
|
||||
int xfs_icache_inode_is_allocated(struct xfs_mount *mp, struct xfs_trans *tp,
|
||||
xfs_ino_t ino, bool *inuse);
|
||||
|
||||
void xfs_icache_disable_reclaim(struct xfs_mount *mp);
|
||||
void xfs_icache_enable_reclaim(struct xfs_mount *mp);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user