]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Destroy rpcrdma_rep when Receive is flushed
authorChuck Lever <chuck.lever@oracle.com>
Fri, 3 Jan 2020 16:56:58 +0000 (11:56 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:54:32 +0000 (10:54 -0500)
commit53fc527088cd2c0cbd816bba8eed53e92ca4bf6f
tree98f3764c57905ee3ba95e0dbc56a73e56c433d05
parent24c7b6a132986f888cb1a1573e25234aef467f0c
xprtrdma: Destroy rpcrdma_rep when Receive is flushed

This reduces the hardware and memory footprint of an unconnected
transport.

At some point in the future, transport reconnect will allow
resolving the destination IP address through a different device. The
current change enables reps for the new connection to be allocated
on whichever NUMA node the new device affines to after a reconnect.

Note that this does not destroy _all_ the transport's reps... there
will be a few that are still part of a running RPC completion.

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