]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/rbd: wait for nbd map to close after unmap
authorJason Dillaman <dillaman@redhat.com>
Wed, 11 Mar 2020 19:11:10 +0000 (15:11 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 11 Mar 2020 19:12:58 +0000 (15:12 -0400)
commit80a3f18cafb4add1624cc690bba436a1284dc634
tree5a5ea84ff6ed8a2d1312de7a5a1668e9ecea6d22
parent23e78df6153558a756b7d771525e3f47426c00eb
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>
qa/workunits/rbd/rbd-nbd.sh