• T
    SUNRPC: Don't disconnect more than once if retransmitting NFSv4 requests · 7c1d71cf
    Trond Myklebust 提交于
    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: NTrond Myklebust <Trond.Myklebust@netapp.com>
    7c1d71cf
xprtsock.c 53.8 KB