* Re: [PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read()
2023-05-20 0:00 ` [PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read() David Howells
@ 2023-05-20 4:11 ` Christoph Hellwig
2023-05-20 9:41 ` Christian Brauner
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2023-05-20 4:11 UTC (permalink / raw)
To: David Howells
Cc: Jens Axboe, linux-block, Hillf Danton, Jan Kara, linux-xfs,
David Hildenbrand, linux-erofs, Linus Torvalds, Jeff Layton,
Christian Brauner, Matthew Wilcox, linux-kernel,
Christoph Hellwig, linux-mm, Al Viro, Jason Gunthorpe,
linux-fsdevel, linux-ext4, Logan Gunthorpe, Christoph Hellwig
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read()
2023-05-20 0:00 ` [PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read() David Howells
2023-05-20 4:11 ` Christoph Hellwig
@ 2023-05-20 9:41 ` Christian Brauner
2023-05-21 0:28 ` Theodore Ts'o
2023-05-21 14:55 ` Gao Xiang
3 siblings, 0 replies; 5+ messages in thread
From: Christian Brauner @ 2023-05-20 9:41 UTC (permalink / raw)
To: David Howells
Cc: Jens Axboe, linux-block, Hillf Danton, Jan Kara, linux-xfs,
David Hildenbrand, linux-erofs, Linus Torvalds, Jeff Layton,
linux-kernel, Matthew Wilcox, Christoph Hellwig, linux-mm,
Al Viro, Jason Gunthorpe, linux-fsdevel, linux-ext4,
Logan Gunthorpe, Christoph Hellwig
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@redhat.com>
> cc: Christoph Hellwig <hch@lst.de>
> cc: Al Viro <viro@zeniv.linux.org.uk>
> cc: Jens Axboe <axboe@kernel.dk>
> cc: linux-erofs@lists.ozlabs.org
> cc: linux-ext4@vger.kernel.org
> cc: linux-xfs@vger.kernel.org
> cc: linux-fsdevel@vger.kernel.org
> cc: linux-block@vger.kernel.org
> cc: linux-mm@kvack.org
> ---
Fwiw, O_DIRECT and DAX could've just been folded into one patch imho.
Reviewed-by: Christian Brauner <brauner@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read()
2023-05-20 0:00 ` [PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read() David Howells
2023-05-20 4:11 ` Christoph Hellwig
2023-05-20 9:41 ` Christian Brauner
@ 2023-05-21 0:28 ` Theodore Ts'o
2023-05-21 14:55 ` Gao Xiang
3 siblings, 0 replies; 5+ messages in thread
From: Theodore Ts'o @ 2023-05-21 0:28 UTC (permalink / raw)
To: David Howells
Cc: Jens Axboe, linux-block, Hillf Danton, Jan Kara, linux-xfs,
David Hildenbrand, linux-erofs, Linus Torvalds, Jeff Layton,
Christian Brauner, Matthew Wilcox, linux-kernel,
Christoph Hellwig, linux-mm, Al Viro, Jason Gunthorpe,
linux-fsdevel, linux-ext4, Logan Gunthorpe, Christoph Hellwig
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@redhat.com>
> cc: Christoph Hellwig <hch@lst.de>
> cc: Al Viro <viro@zeniv.linux.org.uk>
> cc: Jens Axboe <axboe@kernel.dk>
> cc: linux-erofs@lists.ozlabs.org
> cc: linux-ext4@vger.kernel.org
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read()
2023-05-20 0:00 ` [PATCH v21 08/30] splice: Make splice from a DAX file use copy_splice_read() David Howells
` (2 preceding siblings ...)
2023-05-21 0:28 ` Theodore Ts'o
@ 2023-05-21 14:55 ` Gao Xiang
3 siblings, 0 replies; 5+ messages in thread
From: Gao Xiang @ 2023-05-21 14:55 UTC (permalink / raw)
To: David Howells, Jens Axboe, Al Viro, Christoph Hellwig
Cc: linux-xfs, Hillf Danton, Jan Kara, David Hildenbrand,
Linus Torvalds, Jeff Layton, Christian Brauner, Matthew Wilcox,
linux-kernel, linux-block, linux-mm, Logan Gunthorpe,
Jason Gunthorpe, linux-fsdevel, linux-ext4, linux-erofs,
Christoph Hellwig
On 2023/5/20 17:00, 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@redhat.com>
> cc: Christoph Hellwig <hch@lst.de>
> cc: Al Viro <viro@zeniv.linux.org.uk>
> cc: Jens Axboe <axboe@kernel.dk>
> cc: linux-erofs@lists.ozlabs.org
> cc: linux-ext4@vger.kernel.org
> cc: linux-xfs@vger.kernel.org
> cc: linux-fsdevel@vger.kernel.org
> cc: linux-block@vger.kernel.org
> cc: linux-mm@kvack.org
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Thanks,
Gao Xiang
^ permalink raw reply [flat|nested] 5+ messages in thread