NFSD add nfs4 inter ssc to nfsd4_copy
authorOlga Kornievskaia <kolga@netapp.com>
Wed, 9 Oct 2019 15:50:48 +0000 (11:50 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 9 Dec 2019 16:44:07 +0000 (11:44 -0500)
commitce0887ac96d35c7105090e166bb0807dc0a0e838
tree3533f0f13ce8b69cb1d16b85ec4681e86459e9ff
parentb9e8638e3d9ed8334f1f7071e081860aac37e83e
NFSD add nfs4 inter ssc to nfsd4_copy

Given a universal address, mount the source server from the destination
server.  Use an internal mount. Call the NFS client nfs42_ssc_open to
obtain the NFS struct file suitable for nfsd_copy_range.

Ability to do "inter" server-to-server depends on the an nfsd kernel
parameter "inter_copy_offload_enable".

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c
fs/nfsd/nfssvc.c
fs/nfsd/state.h
fs/nfsd/xdr4.h