Re: [PATCH v13 03/12] splice: Do splice read from a buffered file without using ITER_PIPE

From: Guenter Roeck
Date: Mon Feb 13 2023 - 17:51:18 EST


On 2/13/23 14:43, David Howells wrote:
Guenter Roeck <linux@xxxxxxxxxxxx> wrote:

[ 4.660118] PC is at 0x0
[ 4.660248] LR is at filemap_read_folio+0x17/0x4e

Do you know what the filesystem is that's being read from?

I think the problem is that there are a few filesystems/drivers that call
generic_file_splice_read() but don't have a ->read_folio(). Now most of these
can be made to call direct_splice_read() instead, leaving just coda, overlayfs
and shmem.

Coda and overlayfs can be made to pass the request down a layer. I'm about to
look into shmem.


Both are initrd.

Guenter