]> asedeno.scripts.mit.edu Git - linux.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)
commit85810388a9ddcc8e82738a3df6d3d7b32a79e0ea
tree98f3764c57905ee3ba95e0dbc56a73e56c433d05
parentb78de1dca00376aaba7a58bb5fe21c1606524abe
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