diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-01-03 19:52:17 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-01-14 21:30:24 +0300 |
commit | 13cb886c591f341a8759f175292ddf978ef903a1 (patch) | |
tree | c41b5e4634d278a0543c73de76fbbb5c45537cdc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b32b9ed493f938e191f790a0991d20b18b38c35b (diff) | |
download | linux-13cb886c591f341a8759f175292ddf978ef903a1.tar.xz |
xprtrdma: Fix completion wait during device removal
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: bebd031866ca ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions