]> asedeno.scripts.mit.edu Git - linux.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)
commitf150b4234397448c6abab8785e58a222bfd9ec00
treed9874d9be9e56dffbc1f882461c43e242b14d9bc
parenta526c85c22363a145be4feb6deb895eeee484ca1
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