diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-06-20 19:35:39 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-13 15:58:04 -0400 |
commit | 92ea011f7cbade821ebd56a1f70d20331c0320c8 (patch) | |
tree | 7c4665f0ede9ac710b284af7bfa965c68811127a /include/net | |
parent | 818a8dbe83fddff534b814a7d4e0c75b511dff2e (diff) |
SUNRPC: Make slot allocation more reliable
In xprt_alloc_slot(), the spin lock is only needed to provide atomicity
between the atomic_add_unless() failure and the call to xprt_add_backlog().
We do not actually need to hold it across the memory allocation itself.
By dropping the lock, we can use a more resilient GFP_NOFS allocation,
just as we now do in the rest of the RPC client code.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions