]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Jul 2022 13:22:40 +0000 (09:22 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Jul 2022 13:54:04 +0000 (09:54 -0400)
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

index 628471d069473732a6c1085eb7d07e07450b97c6..4e0dcc19ca7154bcdb33aa4dd5bc03dc8c4c0bd7 100644 (file)
@@ -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: