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>
This commit is contained in:

committed by
J. Bruce Fields

parent
b9e8638e3d
commit
ce0887ac96
@@ -680,6 +680,9 @@ extern struct nfsd4_copy *
|
||||
find_async_copy(struct nfs4_client *clp, stateid_t *staetid);
|
||||
extern void nfs4_put_cpntf_state(struct nfsd_net *nn,
|
||||
struct nfs4_cpntf_state *cps);
|
||||
extern __be32 manage_cpntf_state(struct nfsd_net *nn, stateid_t *st,
|
||||
struct nfs4_client *clp,
|
||||
struct nfs4_cpntf_state **cps);
|
||||
static inline void get_nfs4_file(struct nfs4_file *fi)
|
||||
{
|
||||
refcount_inc(&fi->fi_ref);
|
||||
|
Reference in New Issue
Block a user