]> 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)
commit1d8f040282f58181bc7a99c836b8b2820a117927
tree98f3764c57905ee3ba95e0dbc56a73e56c433d05
parentabcbcb00b95c530ae70c7502ddac3847d8f0b477
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