Christoph Hellwig ae29e4220f xfs: reduce ilock acquisitions in xfs_file_fsync
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>
2021-01-22 16:54:52 -08:00
..
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2020-03-02 20:55:55 -08:00
2020-12-16 16:07:34 -08:00
2020-03-11 09:11:39 -07:00
2020-12-18 12:50:18 -08:00
2020-09-15 20:52:42 -07:00
2021-01-22 16:54:51 -08:00
2020-12-16 16:07:34 -08:00
2020-12-16 16:07:34 -08:00
2020-12-16 16:07:34 -08:00
2020-05-08 08:51:34 -07:00