summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsfs.h
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@netapp.com>2015-11-11 00:53:33 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2015-12-01 22:00:55 +0300
commiteac70053a141998c40907747d6cea1d53a9414be (patch)
tree67b51897837e7e031727afd38596e9d5eb10e196 /fs/cifs/cifsfs.h
parent3db11b2eecc02dc0eee943e71822c6d929281aa7 (diff)
downloadlinux-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