Skip to content
Commit 7c1d71cf authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Don't disconnect more than once if retransmitting NFSv4 requests



NFSv4 requires us to ensure that we break the TCP connection before we're
allowed to retransmit a request. However in the case where we're
retransmitting several requests that have been sent on the same
connection, we need to ensure that we don't interfere with the attempt to
reconnect and/or break the connection again once it has been established.

We therefore introduce a 'connection' cookie that is bumped every time a
connection is broken. This allows requests to track if they need to force a
disconnection.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 636ac433
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment