diff options
author | David Howells <dhowells@redhat.com> | 2023-05-22 14:49:54 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-24 08:42:16 -0600 |
commit | aa3dbde878961dd333cdd3c326b93e6c84a23ed4 (patch) | |
tree | 960bbf6eda7f857001501ee6c909bb0d2dc60029 /fs/ramfs | |
parent | 123856f0e83f457a3a24d15f561a1dd5f0d4b482 (diff) | |
download | linux-stable-aa3dbde878961dd333cdd3c326b93e6c84a23ed4.tar.gz linux-stable-aa3dbde878961dd333cdd3c326b93e6c84a23ed4.tar.bz2 linux-stable-aa3dbde878961dd333cdd3c326b93e6c84a23ed4.zip |
splice: Make splice from an O_DIRECT fd use copy_splice_read()
Make a read splice from a file descriptor that's open O_DIRECT use
copy_splice_read() to do the reading as filemap_splice_read() is unlikely
to find any pagecache to splice.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
cc: Al Viro <viro@zeniv.linux.org.uk>
cc: Jens Axboe <axboe@kernel.dk>
cc: linux-fsdevel@vger.kernel.org
cc: linux-block@vger.kernel.org
cc: linux-mm@kvack.org
Link: https://lore.kernel.org/r/20230522135018.2742245-8-dhowells@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions