coda: Implement splice-read
authorDavid Howells <dhowells@redhat.com>
Tue, 14 Feb 2023 15:26:17 +0000 (15:26 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 14 Feb 2023 16:47:26 +0000 (16:47 +0000)
commit508918ec20c1e4db5dd4ff9434b14aea1ebbbf8e
tree900eae60eb21bc7d3b3a036f6017335c5a80f98e
parent02d1dac5e535c84918990acd772d5717f6ff2d27
coda: Implement splice-read

Implement splice-read for coda 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.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Christoph Hellwig <hch@lst.de>
cc: Jens Axboe <axboe@kernel.dk>
cc: Al Viro <viro@zeniv.linux.org.uk>
cc: John Hubbard <jhubbard@nvidia.com>
cc: David Hildenbrand <david@redhat.com>
cc: Matthew Wilcox <willy@infradead.org>
cc: Jan Harkes <jaharkes@cs.cmu.edu>
cc: coda@cs.cmu.edu
cc: codalist@coda.cs.cmu.edu
cc: linux-unionfs@vger.kernel.org
cc: linux-block@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
fs/coda/file.c