]> 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)
commit4b464a2eca62c4f80f6ce3ec3ed6c7b575ddf9c7
treed31038bce86a37519387cb2eaff459b2ea0852ec
parent488a98b1748317d1bdaa2171cab7f33779456c8a
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