]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Initialize the xprt address string array earlier
authorChuck Lever <chuck.lever@oracle.com>
Fri, 15 Dec 2017 01:56:50 +0000 (20:56 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 16 Jan 2018 16:19:45 +0000 (11:19 -0500)
commita077255fa6a81ac5e4cd717aee182de98fa67ec4
tree80668c49cb169ffd0757a10924539dc3ab006218
parent5e53d1fda05f1c9564cf8b53ef612c71a05df19f
xprtrdma: Initialize the xprt address string array earlier

This makes the address strings available for debugging messages in
earlier stages of transport set up.

The first benefit is to get rid of the single-use rep_remote_addr
field, saving 128+ bytes in struct rpcrdma_ep.

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