diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2015-11-11 00:53:33 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-01 22:00:55 +0300 |
commit | eac70053a141998c40907747d6cea1d53a9414be (patch) | |
tree | 67b51897837e7e031727afd38596e9d5eb10e196 /fs/cifs/cifsfs.h | |
parent | 3db11b2eecc02dc0eee943e71822c6d929281aa7 (diff) | |
download | linux-eac70053a141998c40907747d6cea1d53a9414be.tar.xz |
vfs: Add vfs_copy_file_range() support for pagecache copies
This allows us to have an in-kernel copy mechanism that avoids frequent
switches between kernel and user space. This is especially useful so
NFSD can support server-side copies.
The default (flags=0) means to first attempt copy acceleration, but use
the pagecache if that fails.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Padraig Brady <P@draigBrady.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifsfs.h')
0 files changed, 0 insertions, 0 deletions