• Chuck Lever's avatar
    SUNRPC: Address Kerberos performance/behavior regression · deaa5c96
    Chuck Lever authored
    When using Kerberos with v4.20, I've observed frequent connection
    loss on heavy workloads. I traced it down to the client underrunning
    the GSS sequence number window -- NFS servers are required to drop
    the RPC with the low sequence number, and also drop the connection
    to signal that an RPC was dropped.
    
    Bisected to commit 918f3c1f ("SUNRPC: Improve latency for
    interactive tasks").
    
    I've got a one-line workaround for this issue, which is easy to
    backport to v4.20 while a more permanent solution is being derived.
    Essentially, tk_owner-based sorting is disabled for RPCs that carry
    a GSS sequence number.
    
    Fixes: 918f3c1f ("SUNRPC: Improve latency for interactive ... ")
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
    deaa5c96
xprt.c 48.9 KB