diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2015-11-10 16:53:33 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-01 14:00:55 -0500 |
commit | eac70053a141998c40907747d6cea1d53a9414be (patch) | |
tree | 67b51897837e7e031727afd38596e9d5eb10e196 /drivers/rtc | |
parent | 3db11b2eecc02dc0eee943e71822c6d929281aa7 (diff) |
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 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions