]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd461f1f2fb91b5629019b3b405528bc88c49f863
tree80668c49cb169ffd0757a10924539dc3ab006218
parent104927042cde1f86e9f3959ba9c8b4dae1616d69
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