]> git.baikalelectronics.ru Git - kernel.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)
commit5108232e6c639ab4f69262b080aad737ce2a5985
treecef8009e8d4d3bec286c478e97a9a973b6fac5f7
parent15240cc2c4e0b97c14ab1ddc9e10a939c8c9bd56
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