diff options
author | Dave Chinner | 2020-06-29 14:49:17 -0700 |
---|---|---|
committer | Darrick J. Wong | 2020-07-07 07:15:08 -0700 |
commit | 9552e14d3e879a3b4281427ef368271f371ea167 (patch) | |
tree | a68c0e2425c30d34c4a579902edced661612790b /fs/ecryptfs/ecryptfs_kernel.h | |
parent | 0e8e2c6343dd74a4f55f8507a9fae9064d456436 (diff) |
xfs: don't block inode reclaim on the ILOCK
When we attempt to reclaim an inode, the first thing we do is take
the inode lock. This is blocking right now, so if the inode being
accessed by something else (e.g. being flushed to the cluster
buffer) we will block here.
Change this to a trylock so that we do not block inode reclaim
unnecessarily here.
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/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions