diff mbox series

[2/2] NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly

Message ID 20220713221511.1038552-2-trondmy@kernel.org (mailing list archive)
State New, archived
Headers show
Series [1/2] NFSv4.1: Don't decrease the value of seq_nr_highest_sent | expand

Commit Message

Trond Myklebust July 13, 2022, 10:15 p.m. UTC
From: Trond Myklebust <trond.myklebust@hammerspace.com>

Don't assume that the NFS4ERR_DELAY means that the server is processing
this slot id.

Fixes: 3453d5708b33 ("NFSv4.1: Avoid false retries when RPC calls are interrupted")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
---
 fs/nfs/nfs4proc.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 628471d06947..4e0dcc19ca71 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -853,7 +853,6 @@  static int nfs41_sequence_process(struct rpc_task *task,
 			__func__,
 			slot->slot_nr,
 			slot->seq_nr);
-		nfs4_slot_sequence_acked(slot, slot->seq_nr);
 		goto out_retry;
 	case -NFS4ERR_RETRY_UNCACHED_REP:
 	case -NFS4ERR_SEQ_FALSE_RETRY: