]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: yet another attempt to improve rbd-nbd unmap
authorMykola Golub <mgolub@suse.com>
Thu, 10 Sep 2020 13:08:42 +0000 (14:08 +0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 26 Oct 2020 20:21:44 +0000 (21:21 +0100)
commitec4765799b19f653fc85cb504198ebc2d7d10105
treeda9564d18a01861b3d2d7333814fe1d42fc042e8
parenta2010cbc82ce53c909c3d230726d633f552e43a1
qa/workunits/rbd: yet another attempt to improve rbd-nbd unmap

Previously it still could race when unmap_device returned success
because the device was not found in `rbd-nbd list-mapped` (the nbd
device was removed) but the test failed because the process was still
found in the ps table.

Fixes: https://tracker.ceph.com/issues/47394
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit f0c69761c8036a57319ead5cdf97cebb0f0fb5d7)

Conflicts:
qa/workunits/rbd/rbd-nbd.sh
- omit changes in tests that are not in nautilus
qa/workunits/rbd/rbd-nbd.sh