]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: On invalidation failure, remove MWs from rl_registered
authorChuck Lever <chuck.lever@oracle.com>
Thu, 8 Jun 2017 15:51:48 +0000 (11:51 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 20:00:09 +0000 (16:00 -0400)
commit31b5985c05625f16863e30076066e0d4320c19d6
tree1311a3a44db9446d79fcbbf7c0a94b13bcb25709
parent47742a9c827248ec1fa609ac8ba43ae79f87d39d
xprtrdma: On invalidation failure, remove MWs from rl_registered

Callers assume the ro_unmap_sync and ro_unmap_safe methods empty
the list of registered MRs. Ensure that all paths through
fmr_op_unmap_sync() remove MWs from that list.

Fixes: 4c774ef21449 ("xprtrdma: Place registered MWs on a ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/fmr_ops.c