xprtrdma: Prevent memory allocations from driving a reclaim
authorChuck Lever <chuck.lever@oracle.com>
Fri, 23 Sep 2022 13:06:37 +0000 (09:06 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 5 Oct 2022 19:47:17 +0000 (15:47 -0400)
commitf20f18c95630e9b53f5081fd5df3bb705c450bbe
tree3d9b8aa2ec35f8f645e5acc1bf6011807c6d56c0
parent9c8f332fbf995dc1d4d30a973d7ad6e1adb56437
xprtrdma: Prevent memory allocations from driving a reclaim

Many memory allocations that xprtrdma does can fail safely. Let's
use this fact to avoid some potential deadlocks: Replace GFP_KERNEL
with GFP flags that do not try hard to acquire memory.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c