xfs: halt auto-reclamation activities while rebuilding rmap
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 May 2018 17:03:56 +0000 (10:03 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 00:57:05 +0000 (17:57 -0700)
commitd6b636ebb1c9f412687a7b6ed97c996247cc2380
tree889b0ec861c28a50e721aa6aa683ff4e55307fd0
parent95eb308caa0ff7c4a0a86053422934737e6e6dc7
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>
fs/xfs/xfs_icache.c
fs/xfs/xfs_icache.h
fs/xfs/xfs_mount.c
fs/xfs/xfs_super.c