NFSv4.1: Fix the client behaviour on NFS4ERR_SEQ_FALSE_RETRY
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Jun 2018 23:10:31 +0000 (19:10 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Jun 2018 23:10:31 +0000 (19:10 -0400)
commitf9312a541050007ec59eb0106273a0a10718cd83
treefdea5cee92dd66628646de26e6d12b4ec731af73
parent995891006ccbb73c0c9c3923cf9d25c4d07ec16b
NFSv4.1: Fix the client behaviour on NFS4ERR_SEQ_FALSE_RETRY

If the server returns NFS4ERR_SEQ_FALSE_RETRY or NFS4ERR_RETRY_UNCACHED_REP,
then it thinks we're trying to replay an existing request. If so, then
let's just bump the sequence ID and retry the operation.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c