]> Git Repo - linux.git/commit
btrfs: wire up iter_file_splice_write
authorChristoph Hellwig <[email protected]>
Thu, 9 Jul 2020 16:22:06 +0000 (18:22 +0200)
committerDavid Sterba <[email protected]>
Thu, 9 Jul 2020 17:57:58 +0000 (19:57 +0200)
commitd77765911385b65fc82d74ab71b8983cddfe0b58
treeef0afe1a04d8288e4383f1194eb06d5203fa9c8f
parent230ed397435e85b54f055c524fcb267ae2ce3bc4
btrfs: wire up iter_file_splice_write

btrfs implements the iter_write op and thus can use the more efficient
iov_iter based splice implementation.  For now falling back to the less
efficient default is pretty harmless, but I have a pending series that
removes the default, and thus would cause btrfs to not support splice
at all.

Reported-by: Andy Lavr <[email protected]>
Tested-by: Andy Lavr <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/file.c
This page took 0.055749 seconds and 4 git commands to generate.