]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Don't clear RPC_BC_PA_IN_USE on pre-allocated rpc_rqst's
authorChuck Lever <chuck.lever@oracle.com>
Fri, 15 Dec 2017 01:57:39 +0000 (20:57 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 16 Jan 2018 16:19:49 +0000 (11:19 -0500)
commit1228d94a5a9fb383f864ad599579549e14467137
treeeafc8d8a7744c4948856df963ed02ab318886964
parent7ba8bcde225600a8e48d588448ac34ef62856f7b
xprtrdma: Don't clear RPC_BC_PA_IN_USE on pre-allocated rpc_rqst's

No need for the overhead of atomically setting and clearing this bit
flag for every use of a pre-allocated backchannel rpc_rqst. These
are a distinct pool of rpc_rqsts that are used only for callback
operations, so it is safe to simply leave the bit set.

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