summary refs log tree commit diff
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2020-07-08 10:33:40 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-07-13 10:50:41 -0400
commit913fadc5b105c3619d9e8d0fe8899ff1593cc737 (patch)
tree0a2bff103baa8977305655f0a46eec7691bbb8b0 /fs/nfs/direct.c
parentaf667527b0e34912d2cb3586d585f66db4e4f486 (diff)
downloadlinux-913fadc5b105c3619d9e8d0fe8899ff1593cc737.tar.gz
NFS: Fix interrupted slots by sending a solo SEQUENCE operation
We used to do this before 3453d5708b33, but this was changed to better
handle the NFS4ERR_SEQ_MISORDERED error code. This commit fixed the slot
re-use case when the server doesn't receive the interrupted operation,
but if the server does receive the operation then it could still end up
replying to the client with mis-matched operations from the reply cache.

We can fix this by sending a SEQUENCE to the server while recovering from
a SEQ_MISORDERED error when we detect that we are in an interrupted slot
situation.

Fixes: 3453d5708b33 (NFSv4.1: Avoid false retries when RPC calls are interrupted)
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions