diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-04-19 14:03:12 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-26 09:25:12 -0400 |
commit | e4b52ca01315ad53df41877708428c1c41c1444d (patch) | |
tree | 415766908cf1960441dbab10266739da1b84f117 /include/trace | |
parent | 44438ad9ae22277a261f9fa4fdc6387a8ff50f2e (diff) | |
download | linux-stable-e4b52ca01315ad53df41877708428c1c41c1444d.tar.gz linux-stable-e4b52ca01315ad53df41877708428c1c41c1444d.tar.bz2 linux-stable-e4b52ca01315ad53df41877708428c1c41c1444d.zip |
xprtrdma: Do not recycle MR after FastReg/LocalInv flushes
Better not to touch MRs involved in a flush or post error until the
Send and Receive Queues are drained and the transport is fully
quiescent. Simply don't insert such MRs back onto the free list.
They remain on mr_all and will be released when the connection is
torn down.
I had thought that recycling would prevent hardware resources from
being tied up for a long time. However, since v5.7, a transport
disconnect destroys the QP and other hardware-owned resources. The
MRs get cleaned up nicely at that point.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/rpcrdma.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/trace/events/rpcrdma.h b/include/trace/events/rpcrdma.h index c838e7ac1c2d..e38e745d13b0 100644 --- a/include/trace/events/rpcrdma.h +++ b/include/trace/events/rpcrdma.h @@ -1014,7 +1014,6 @@ DEFINE_MR_EVENT(localinv); DEFINE_MR_EVENT(map); DEFINE_ANON_MR_EVENT(unmap); -DEFINE_ANON_MR_EVENT(recycle); TRACE_EVENT(xprtrdma_dma_maperr, TP_PROTO( |