Re: [PATCH] splice: Fix filemap of a blockdev

From: David Howells
Date: Wed Apr 19 2023 - 09:02:17 EST


Note that this shouldn't affect direct_splice_read() as that doesn't look at
the size of the file, but rather just keeps reading from it until the
requested amount is read, the pipe is full or ->read_iter() indicates EOF by
returning 0 (so it could work for copy-splicing from a pipe/socket/chardev
too).

David