[PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read()
Christian Brauner
brauner at kernel.org
Sat May 20 19:41:27 AEST 2023
On Sat, May 20, 2023 at 01:00:27AM +0100, David Howells wrote:
> Make a read splice from a DAX file go directly to copy_splice_read() to do
> the reading as filemap_splice_read() is unlikely to find any pagecache to
> splice.
>
> I think this affects only erofs, Ext2, Ext4, fuse and XFS.
>
> Signed-off-by: David Howells <dhowells at redhat.com>
> cc: Christoph Hellwig <hch at lst.de>
> cc: Al Viro <viro at zeniv.linux.org.uk>
> cc: Jens Axboe <axboe at kernel.dk>
> cc: linux-erofs at lists.ozlabs.org
> cc: linux-ext4 at vger.kernel.org
> cc: linux-xfs at vger.kernel.org
> cc: linux-fsdevel at vger.kernel.org
> cc: linux-block at vger.kernel.org
> cc: linux-mm at kvack.org
> ---
Fwiw, O_DIRECT and DAX could've just been folded into one patch imho.
Reviewed-by: Christian Brauner <brauner at kernel.org>
More information about the Linux-erofs
mailing list