diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-05-21 17:08:14 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-16 19:06:29 -0700 |
commit | 97c97e52c9dabfc28d197832d84027331faf1bba (patch) | |
tree | 73f70af7fc4be7da8b10239199e612dc5d4cf9e1 /fs/xfs/xfs_mount.c | |
parent | dafecdb140f6b8d45e213f9e0363d6b1a8f551d9 (diff) |
xfs: create a polled function to force inode inactivationdeferred-inactivation_2019-08-16
Create a polled version of xfs_inactive_force so that we can force
inactivation while holding a lock (usually the umount lock) without
tripping over the softlockup timer. This is for callers that hold vfs
locks while calling inactivation, which is currently unmount, iunlink
processing during mount, and rw->ro remount.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index 15cab53341bc..f962c6d753fc 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c @@ -1036,7 +1036,7 @@ xfs_unmountfs( * Since this can involve finobt updates, do it now before we lose the * per-AG space reservations. */ - xfs_inactive_force(mp); + xfs_inactive_force_poll(mp); xfs_stop_block_reaping(mp); xfs_fs_unreserve_ag_blocks(mp); |