]> git.baikalelectronics.ru Git - kernel.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)
commitdc85c5bddfe3c0cc5a9e9f4964ad66e8f4286f4f
treed31038bce86a37519387cb2eaff459b2ea0852ec
parentfdab83ca3365fd501aa4653b7b5866a60eaf4c11
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