diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-23 19:19:25 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-23 23:06:45 -0500 |
commit | 63f5f796af613898669b23ccfc091ec77de7591c (patch) | |
tree | e199eb2a2858349fd95c077e58a640afa71375b6 /fs/nfs/nfs4_fs.h | |
parent | a67964197c946adbb14d91c3d878af22de47091c (diff) |
NFSv4.1: Allow parallel OPEN/OPEN_DOWNGRADE/CLOSE
Remove the serialisation of OPEN/OPEN_DOWNGRADE and CLOSE calls for the
case of NFSv4.1 and newer.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index a08178764cf9..e57290a66b76 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -44,6 +44,7 @@ enum nfs4_client_state { | |||
44 | #define NFS4_RENEW_TIMEOUT 0x01 | 44 | #define NFS4_RENEW_TIMEOUT 0x01 |
45 | #define NFS4_RENEW_DELEGATION_CB 0x02 | 45 | #define NFS4_RENEW_DELEGATION_CB 0x02 |
46 | 46 | ||
47 | struct nfs_seqid_counter; | ||
47 | struct nfs4_minor_version_ops { | 48 | struct nfs4_minor_version_ops { |
48 | u32 minor_version; | 49 | u32 minor_version; |
49 | unsigned init_caps; | 50 | unsigned init_caps; |
@@ -56,6 +57,8 @@ struct nfs4_minor_version_ops { | |||
56 | struct nfs_fsinfo *); | 57 | struct nfs_fsinfo *); |
57 | void (*free_lock_state)(struct nfs_server *, | 58 | void (*free_lock_state)(struct nfs_server *, |
58 | struct nfs4_lock_state *); | 59 | struct nfs4_lock_state *); |
60 | struct nfs_seqid * | ||
61 | (*alloc_seqid)(struct nfs_seqid_counter *, gfp_t); | ||
59 | const struct rpc_call_ops *call_sync_ops; | 62 | const struct rpc_call_ops *call_sync_ops; |
60 | const struct nfs4_state_recovery_ops *reboot_recovery_ops; | 63 | const struct nfs4_state_recovery_ops *reboot_recovery_ops; |
61 | const struct nfs4_state_recovery_ops *nograce_recovery_ops; | 64 | const struct nfs4_state_recovery_ops *nograce_recovery_ops; |