]> 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)
commit30b5416bf0fd3bfef55543343ad1e85d32e32de4
treeeafc8d8a7744c4948856df963ed02ab318886964
parentcf73daf52750fca4b4af0ca812f542891c228066
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