aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2020-01-03 11:57:04 -0500
committerAnna Schumaker <[email protected]>2020-01-15 10:54:32 -0500
commitb7ff0185e92a68e77da7edff38e124dfb25b079c (patch)
tree7ebfd8a43115ef8fc9aed3ea1298f53c7fbc7492 /scripts/gdb/linux/config.py
parent85810388a9ddcc8e82738a3df6d3d7b32a79e0ea (diff)
xprtrdma: Destroy reps from previous connection instance
To safely get rid of all rpcrdma_reps from a particular connection instance, xprtrdma has to wait until each of those reps is finished being used. A rep may be backing the rq_rcv_buf of an RPC that has just completed, for example. Since it is safe to invoke rpcrdma_rep_destroy() only in the Receive completion handler, simply mark reps remaining in the rb_all_reps list after the transport is drained. These will then be deleted as rpcrdma_post_recvs pulls them off the rep free list. Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions