]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: wait for nbd map to close after unmap 34736/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 11 Mar 2020 19:11:10 +0000 (15:11 -0400)
committerNathan Cutler <ncutler@suse.com>
Fri, 24 Apr 2020 13:21:58 +0000 (15:21 +0200)
commit59887649c9aed80ec8865b7ab48a420177521029
tree403ad03983f98ead55c90cecd62dd19a2dbc387f
parentd1d9f9cff9bc39dd63e05ddfe7f63e36dcb4aa16
qa/workunits/rbd: wait for nbd map to close after unmap

The unmap action only sends a signal to the kernel to notify the
rbd-nbd daemon to disconnect. Therefore, it's possible that an
unmap followed by an immediate re-map to the same device might
fail since the unmap is still in-progress.

Fixes: https://tracker.ceph.com/issues/44567
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 80a3f18cafb4add1624cc690bba436a1284dc634)
qa/workunits/rbd/rbd-nbd.sh