]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: split the unaligned DIO write code out
authorDave Chinner <dchinner@redhat.com>
Sat, 23 Jan 2021 18:06:30 +0000 (10:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 1 Feb 2021 17:47:19 +0000 (09:47 -0800)
commitd39c92d4a6cc3fad1fd0e845cfcadbac902fba07
treeeae35360e9f3d4fbd6beceada74aeaf3cfb922ca
parent32626babbe77a8b48ae398091670c177d779e415
xfs: split the unaligned DIO write code out

The unaligned DIO write path is more convolted than the normal path,
and we are about to make it more complex. Keep the block aligned
fast path dio write code trim and simple by splitting out the
unaligned DIO code from it.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
[hch: rebased, fixed a few minor nits]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_file.c