diff options
author | David Howells <dhowells@redhat.com> | 2023-05-22 16:50:12 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-24 17:42:16 +0300 |
commit | 6ef48ec391c8733c89fce33b5a6a2747aa1b8178 (patch) | |
tree | 5b7f783fe79165d8f05284856d78057fdae56052 /fs/fuse/file.c | |
parent | 54919f94ec52549b7efcd074567ccb68c49830df (diff) | |
download | linux-6ef48ec391c8733c89fce33b5a6a2747aa1b8178.tar.xz |
zonefs: Provide a splice-read wrapper
Provide a splice_read wrapper for zonefs. This does some checks before
proceeding and locks the inode across the call to filemap_splice_read() and
a size check in case of truncation. Splicing from direct I/O is handled by
the caller.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Christoph Hellwig <hch@lst.de>
cc: Al Viro <viro@zeniv.linux.org.uk>
cc: Jens Axboe <axboe@kernel.dk>
cc: Darrick J. Wong <djwong@kernel.org>
cc: linux-xfs@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
cc: linux-block@vger.kernel.org
cc: linux-mm@kvack.org
Acked-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230522135018.2742245-26-dhowells@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/fuse/file.c')
0 files changed, 0 insertions, 0 deletions