]> asedeno.scripts.mit.edu Git - linux.git/commit
xprtrdma: Backchannel can use GFP_KERNEL allocations
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Apr 2019 13:39:37 +0000 (09:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 19:18:58 +0000 (15:18 -0400)
commit3f9c7e76934790c53a48b11c7ad54770cd3ae50d
treecef8009e8d4d3bec286c478e97a9a973b6fac5f7
parentd2832af38dfd1d3b135b13c6106b2c5de16a6747
xprtrdma: Backchannel can use GFP_KERNEL allocations

The Receive handler runs in process context, thus can use on-demand
GFP_KERNEL allocations instead of pre-allocation.

This makes the xprtrdma backchannel independent of the number of
backchannel session slots provisioned by the Upper Layer protocol.

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