]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: split the iomap ops for buffered vs direct writes
authorChristoph Hellwig <hch@lst.de>
Sat, 19 Oct 2019 16:09:46 +0000 (09:09 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 16:04:58 +0000 (09:04 -0700)
commit57ab32015f2a1d7340c47c69211f7434eedfc948
treed9874d9be9e56dffbc1f882461c43e242b14d9bc
parenta78a2bfd457afa7e180603ed4ac76694361c3998
xfs: split the iomap ops for buffered vs direct writes

Instead of lots of magic conditionals in the main write_begin
handler this make the intent very clear.  Thing will become even
better once we support delayed allocations for extent size hints
and realtime allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_file.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h
fs/xfs/xfs_iops.c
fs/xfs/xfs_reflink.c