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

Miklos Szeredi
2023-02-15T15:50:21Z

On Wed, 15 Feb 2023 at 16:41, David Howells <dhowells@redhat.com> 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