]> 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)
commit5023a6023f0df942049af8802fa50bce276ad8d0
tree1311a3a44db9446d79fcbbf7c0a94b13bcb25709
parentb6a9336588f1c24d7cb1405394fc4f4f5b355ff1
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: cfcc054d8547 ("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