diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-15 15:36:07 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-15 15:39:59 -0500 |
commit | ac20d163fccf9fa6acec8b68f127003635e13b72 (patch) | |
tree | 2424cf9b4a61b6889e484b35c6385d1bf1e03600 /fs/nfs/nfs4session.h | |
parent | 8e63b6a8adabb0551124c3b78f7f5f36912c3728 (diff) |
NFSv4.1: Deal effectively with interrupted RPC calls.
If an RPC call is interrupted, assume that the server hasn't processed
the RPC call so that the next time we use the slot, we know that if we
get a NFS4ERR_SEQ_MISORDERED or NFS4ERR_SEQ_FALSE_RETRY, we just have
to bump the sequence number.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4session.h')
-rw-r--r-- | fs/nfs/nfs4session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h index d17b08091d4b..6f3cb39386d4 100644 --- a/fs/nfs/nfs4session.h +++ b/fs/nfs/nfs4session.h | |||
@@ -21,6 +21,7 @@ struct nfs4_slot { | |||
21 | unsigned long generation; | 21 | unsigned long generation; |
22 | u32 slot_nr; | 22 | u32 slot_nr; |
23 | u32 seq_nr; | 23 | u32 seq_nr; |
24 | unsigned int interrupted : 1; | ||
24 | }; | 25 | }; |
25 | 26 | ||
26 | /* Sessions */ | 27 | /* Sessions */ |