Skip to content
  • Trond Myklebust's avatar
    SUNRPC: Don't disconnect more than once if retransmitting NFSv4 requests · 7c1d71cf
    Trond Myklebust authored
    
    
    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>
    7c1d71cf