Re: [PATCH v15 05/17] overlayfs: Implement splice-read

From: Miklos Szeredi
Date: Wed Feb 15 2023 - 10:50:21 EST


On Wed, 15 Feb 2023 at 16:41, David Howells <dhowells@xxxxxxxxxx> wrote:
>
> How about the attached then?
>
> David
> ---
> overlayfs: Implement splice-read
>
> Implement splice-read for overlayfs by passing the request down a layer
> rather than going through generic_file_splice_read() which is going to be
> changed to assume that ->read_folio() is present on buffered files.

Looks good. One more suggestion: add a vfs_splice() helper and use
that from do_splice_to() as well.

Thanks,
Miklos