diff options
author | David Howells <[email protected]> | 2023-05-22 14:50:11 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-05-24 08:42:16 -0600 |
commit | 54919f94ec52549b7efcd074567ccb68c49830df (patch) | |
tree | 64425f162ffc570cd8aec029f874d8eb1687bc00 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 6bbf64beabc1bdcd96474c5eb26f38258c4aea44 (diff) |
xfs: Provide a splice-read wrapper
Provide a splice_read wrapper for XFS. This does a stat count and a
shutdown check before proceeding, then emits a new trace line and locks the
inode across the call to filemap_splice_read() and adds to the stats
afterwards. Splicing from direct I/O or DAX is handled by the caller.
Signed-off-by: David Howells <[email protected]>
Reviewed-by: 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]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions