]> asedeno.scripts.mit.edu Git - linux.git/commit
xprtrdma: rpcrdma_regbuf alignment
authorChuck Lever <chuck.lever@oracle.com>
Wed, 24 Apr 2019 13:39:16 +0000 (09:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2019 19:01:27 +0000 (15:01 -0400)
commit8cec3dba76a4d9d7da4a7219663b8c4333f14522
treed31038bce86a37519387cb2eaff459b2ea0852ec
parent23146500b32fbee7eaa57c5002fcd64e5d9b32ca
xprtrdma: rpcrdma_regbuf alignment

Allocate the struct rpcrdma_regbuf separately from the I/O buffer
to better guarantee the alignment of the I/O buffer and eliminate
the wasted space between the rpcrdma_regbuf metadata and the buffer
itself.

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