aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2023-05-22 13:50:12 +0000
committerJens Axboe <[email protected]>2023-05-24 14:42:16 +0000
commit6ef48ec391c8733c89fce33b5a6a2747aa1b8178 (patch)
tree5b7f783fe79165d8f05284856d78057fdae56052 /fs/btrfs/dev-replace.c
parentxfs: Provide a splice-read wrapper (diff)
downloadkernel-6ef48ec391c8733c89fce33b5a6a2747aa1b8178.tar.gz
kernel-6ef48ec391c8733c89fce33b5a6a2747aa1b8178.zip
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 <[email protected]> cc: Christoph Hellwig <[email protected]> cc: Al Viro <[email protected]> cc: Jens Axboe <[email protected]> cc: Darrick J. Wong <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] Acked-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions