commit | 43cedbf0e8dfb9c5610eb7985d5f21263e313802 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Jul 17 16:01:03 2011 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Jul 17 16:01:03 2011 -0400 |
tree | 7758630292b6a276a3db72e63803ddc02c0a4444 | |
parent | f85ef69ce08bc2209858135328335f668ba35bdb [diff] |
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>