• Trond Myklebust's avatar
    SUNRPC: Fix a UDP transport regression · f39c1bfb
    Trond Myklebust authored
    Commit 43cedbf0 (SUNRPC: Ensure that
    we grab the XPRT_LOCK before calling xprt_alloc_slot) is causing
    hangs in the case of NFS over UDP mounts.
    
    Since neither the UDP or the RDMA transport mechanism use dynamic slot
    allocation, we can skip grabbing the socket lock for those transports.
    Add a new rpc_xprt_op to allow switching between the TCP and UDP/RDMA
    case.
    
    Note that the NFSv4.1 back channel assigns the slot directly
    through rpc_run_bc_task, so we can ignore that case.
    Reported-by: default avatarDick Streefland <dick.streefland@altium.nl>
    Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
    Cc: stable@vger.kernel.org [>= 3.1]
    f39c1bfb
Name
Last commit
Last update
..
Kbuild Loading commit data...
auth.h Loading commit data...
auth_gss.h Loading commit data...
bc_xprt.h Loading commit data...
cache.h Loading commit data...
clnt.h Loading commit data...
debug.h Loading commit data...
gss_api.h Loading commit data...
gss_asn1.h Loading commit data...
gss_err.h Loading commit data...
gss_krb5.h Loading commit data...
gss_krb5_enctypes.h Loading commit data...
metrics.h Loading commit data...
msg_prot.h Loading commit data...
rpc_pipe_fs.h Loading commit data...
rpc_rdma.h Loading commit data...
sched.h Loading commit data...
stats.h Loading commit data...
svc.h Loading commit data...
svc_rdma.h Loading commit data...
svc_xprt.h Loading commit data...
svcauth.h Loading commit data...
svcauth_gss.h Loading commit data...
svcsock.h Loading commit data...
timer.h Loading commit data...
types.h Loading commit data...
xdr.h Loading commit data...
xprt.h Loading commit data...
xprtrdma.h Loading commit data...
xprtsock.h Loading commit data...