xprtrdma: Release orphaned MRs immediately
authorChuck Lever <chuck.lever@oracle.com>
Wed, 29 Jun 2016 17:54:08 +0000 (13:54 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 11 Jul 2016 19:50:43 +0000 (15:50 -0400)
commit2ffc871a574daa760ef4f7750e0a36187a45754a
tree30fcb24659d089a55417df53c4d8b33668367df9
parente2ac236c0b65129f12fef358390f76cc3cacb865
xprtrdma: Release orphaned MRs immediately

Instead of leaving orphaned MRs to be released when the transport
is destroyed, release them immediately. The MR free list can now be
replenished if it becomes exhausted.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/fmr_ops.c
net/sunrpc/xprtrdma/frwr_ops.c