summaryrefslogtreecommitdiffstats
path: root/fs/nls/nls_ascii.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2020-06-29 14:49:16 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-07-07 07:15:07 -0700
commit617825fe3489ac231790e5c843107168838b8547 (patch)
tree5bf5bacf43c7aaf5c6c2f638db86ac2576ccabb9 /fs/nls/nls_ascii.c
parent993f951f501c85e963b3664739c07196a286eac7 (diff)
downloadlinux-617825fe3489ac231790e5c843107168838b8547.tar.gz
linux-617825fe3489ac231790e5c843107168838b8547.tar.bz2
linux-617825fe3489ac231790e5c843107168838b8547.zip
xfs: remove IO submission from xfs_reclaim_inode()
We no longer need to issue IO from shrinker based inode reclaim to prevent spurious OOM killer invocation. This leaves only the global filesystem management operations such as unmount needing to writeback dirty inodes and reclaim them. Instead of using the reclaim pass to write dirty inodes before reclaiming them, use the AIL to push all the dirty inodes before we try to reclaim them. This allows us to remove all the conditional SYNC_WAIT locking and the writeback code from xfs_reclaim_inode() and greatly simplify the checks we need to do to reclaim an inode. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/nls/nls_ascii.c')
0 files changed, 0 insertions, 0 deletions