]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: FMR does not need list_del_init()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 8 Jun 2017 15:53:08 +0000 (11:53 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 20:00:13 +0000 (16:00 -0400)
commit7d6a02f5ff0a9a7647b02196a761925d62f736ae
treebc771a0ca1399bd07292a81e67b7318b86001441
parentd8ca3454b45a35d976ca21e73bc6868026eff13b
xprtrdma: FMR does not need list_del_init()

Clean up.

Commit 04d0428c4ded ("xprtrdma: Remove FMRs from the unmap list
after unmapping") utilized list_del_init() to try to prevent some
list corruption. The corruption was actually caused by the reply
handler racing with a signal. Now that MR invalidation is properly
serialized, list_del_init() can safely be replaced.

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