diff options
author | David Howells <dhowells@redhat.com> | 2023-05-22 15:50:11 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-24 16:42:16 +0200 |
commit | 54919f94ec52549b7efcd074567ccb68c49830df (patch) | |
tree | 64425f162ffc570cd8aec029f874d8eb1687bc00 /fs/orangefs/orangefs-debug.h | |
parent | orangefs: Provide a splice-read wrapper (diff) | |
download | linux-54919f94ec52549b7efcd074567ccb68c49830df.tar.xz linux-54919f94ec52549b7efcd074567ccb68c49830df.zip |
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 <dhowells@redhat.com>
Reviewed-by: 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
Link: https://lore.kernel.org/r/20230522135018.2742245-25-dhowells@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/orangefs/orangefs-debug.h')
0 files changed, 0 insertions, 0 deletions