aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-06-20 19:35:39 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-13 15:58:04 -0400
commit92ea011f7cbade821ebd56a1f70d20331c0320c8 (patch)
tree7c4665f0ede9ac710b284af7bfa965c68811127a /include/linux/nfs_xdr.h
parentNFS: nfs_rename() - revalidate directories on -ERESTARTSYS (diff)
downloadwireguard-linux-92ea011f7cbade821ebd56a1f70d20331c0320c8.tar.xz
wireguard-linux-92ea011f7cbade821ebd56a1f70d20331c0320c8.zip
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/linux/nfs_xdr.h')
0 files changed, 0 insertions, 0 deletions