xfs: allocate direct I/O COW blocks in iomap_begin
Instead of preallocating all the required COW blocks in the high-level write code do it inside the iomap code, like we do for all other I/O. 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>
Showing
- fs/xfs/xfs_file.c 0 additions, 8 deletionsfs/xfs/xfs_file.c
- fs/xfs/xfs_iomap.c 12 additions, 19 deletionsfs/xfs/xfs_iomap.c
- fs/xfs/xfs_reflink.c 54 additions, 92 deletionsfs/xfs/xfs_reflink.c
- fs/xfs/xfs_reflink.h 2 additions, 2 deletionsfs/xfs/xfs_reflink.h
- fs/xfs/xfs_trace.h 0 additions, 2 deletionsfs/xfs/xfs_trace.h
Loading
Please register or sign in to comment