summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_qm.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-01-22 16:48:25 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-01-22 16:54:52 -0800
commitae29e4220fd3047b5442e7e8db8027d7745093f5 (patch)
tree188a3f6a0936b2377baf3ebe757296a08d103945 /fs/xfs/xfs_qm.c
parentf22c7f87777361f94aa17f746fbadfa499248dc8 (diff)
xfs: reduce ilock acquisitions in xfs_file_fsyncxfs-5.12-merge-1
If the inode is not pinned by the time fsync is called we don't need the ilock to protect against concurrent clearing of ili_fsync_fields as the inode won't need a log flush or clearing of these fields. Not taking the iolock allows for full concurrency of fsync and thus O_DSYNC completions with io_uring/aio write submissions. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_qm.c')
0 files changed, 0 insertions, 0 deletions