diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2018-07-09 21:13:28 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-08-09 18:56:38 +0200 |
commit | 5178a125f6d5fb0720315ea4f7cca642fb936031 (patch) | |
tree | 21f43d1faae65b94aa53fd96807b0b2a81ad9a25 /fs/nfs/callback.h | |
parent | NFS: Use an appropriate work queue for direct-write completion (diff) | |
download | linux-5178a125f6d5fb0720315ea4f7cca642fb936031.tar.xz linux-5178a125f6d5fb0720315ea4f7cca642fb936031.zip |
NFS CB_OFFLOAD xdr
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index a20a0bce40a4..8f34daf85f70 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h @@ -184,6 +184,18 @@ struct cb_notify_lock_args { extern __be32 nfs4_callback_notify_lock(void *argp, void *resp, struct cb_process_state *cps); #endif /* CONFIG_NFS_V4_1 */ +#ifdef CONFIG_NFS_V4_2 +struct cb_offloadargs { + struct nfs_fh coa_fh; + nfs4_stateid coa_stateid; + uint32_t error; + uint64_t wr_count; + struct nfs_writeverf wr_writeverf; +}; + +extern __be32 nfs4_callback_offload(void *args, void *dummy, + struct cb_process_state *cps); +#endif /* CONFIG_NFS_V4_2 */ extern int check_gss_callback_principal(struct nfs_client *, struct svc_rqst *); extern __be32 nfs4_callback_getattr(void *argp, void *resp, struct cb_process_state *cps); |