]> 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)
commit576450ad9f05ca3f31ca23512163a5aee1ed98cf
treebc771a0ca1399bd07292a81e67b7318b86001441
parent8666e79045a017a39c8f45b8548709e6a42965db
xprtrdma: FMR does not need list_del_init()

Clean up.

Commit 1192a663ce15 ("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