Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88bd4f86 authored by Olga Kornievskaia's avatar Olga Kornievskaia Committed by Trond Myklebust
Browse files

NFS4.1 handle interrupted slot reuse from ERR_DELAY



If the RPC slot was interrupted and server replied to the next
operation on the "reused" slot with ERR_DELAY, don't clear out
the "interrupted" flag until we properly recover.

Signed-off-by: default avatarOlga Kornievskaia <kolga@netapp.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 4edabfd7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -698,6 +698,7 @@ static int nfs41_sequence_process(struct rpc_task *task,
	session = slot->table->session;

	if (slot->interrupted) {
		if (res->sr_status != -NFS4ERR_DELAY)
			slot->interrupted = 0;
		interrupted = true;
	}