SUNRPC: Ensure that we grab the XPRT_LOCK before calling xprt_alloc_slot
This throttles the allocation of new slots when the socket is busy
reconnecting and/or is out of buffer space.
Signed-off-by:
Trond Myklebust <Trond.Myklebust@netapp.com>
Showing
- include/linux/sunrpc/xprt.h 3 additions, 3 deletionsinclude/linux/sunrpc/xprt.h
- net/sunrpc/xprt.c 42 additions, 24 deletionsnet/sunrpc/xprt.c
- net/sunrpc/xprtrdma/transport.c 2 additions, 3 deletionsnet/sunrpc/xprtrdma/transport.c
- net/sunrpc/xprtsock.c 2 additions, 0 deletionsnet/sunrpc/xprtsock.c
Loading
Please register or sign in to comment