Files
linux/net/sunrpc
Chuck Lever f1e47dcc65 xprtrdma: Fix completion wait during device removal
commit 13cb886c59 upstream.

I've found that on occasion, "rmmod <dev>" will hang while if an NFS
is under load.

Ensure that ri_remove_done is initialized only just before the
transport is woken up to force a close. This avoids the completion
possibly getting initialized again while the CM event handler is
waiting for a wake-up.

Fixes: bebd031866 ("xprtrdma: Support unplugging an HCA from under an NFS mount")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:47:04 +01:00
..
2014-07-12 18:45:49 -04:00
2018-07-31 12:53:40 -04:00
2019-11-24 08:19:24 +01:00
2018-07-31 12:53:40 -04:00
2018-07-31 12:53:40 -04:00
2012-04-15 12:44:40 -04:00
2019-11-24 08:19:49 +01:00