]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Remove rpcrdma_req::rl_buffer
authorChuck Lever <chuck.lever@oracle.com>
Wed, 19 Jun 2019 14:33:36 +0000 (10:33 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 9 Jul 2019 14:30:25 +0000 (10:30 -0400)
commit58089ad2524718b1ead5d2c7f95127c2d3c8546d
treecb24c7f8d88548f1059d029419e584fb374f7098
parent7c7ccee4e70dc1c21405b7aba5b67538bd613782
xprtrdma: Remove rpcrdma_req::rl_buffer

Clean up.

There is only one remaining function, rpcrdma_buffer_put(), that
uses this field. Its caller can supply a pointer to the correct
rpcrdma_buffer, enabling the removal of an 8-byte pointer field
from a frequently-allocated shared data structure.

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