]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd, test: wait if the snapshot is deleting 38937/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Tue, 16 Feb 2021 05:42:44 +0000 (14:42 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Tue, 16 Feb 2021 05:42:44 +0000 (14:42 +0900)
commitd6f9f23012b9ac133e767bd07a804707ba2207ef
treebc731c71dba61136f9cce1d4b93ddab9ecebe33a
parentd0369dc73ee9a911e39642f3b63c4d0f17b04ce3
osd, test: wait if the snapshot is deleting

After calling selfmanaged_snap_remove, we don't know
when trimming snapshot is finished.
So, we make the OSD to return EBUSY if the snapshot in removed_snap_queue,
then the unit test waits the completion

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/osd/PrimaryLogPG.cc
src/test/librados/tier_cxx.cc