]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd, test: wait if the snapshot is deleting 39773/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Tue, 16 Feb 2021 05:42:44 +0000 (14:42 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Tue, 2 Mar 2021 04:25:06 +0000 (13:25 +0900)
commit5acb020e978145dd64bd56bdb61696571b204b35
tree9df2fe256bf720f88384a0fe5e901b29ff6def2f
parent869dfe0becad071d8a78ef0640e53c7b858c3056
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>
(cherry-picked from commit d6f9f23012b9ac133e767bd07a804707ba2207ef)
src/osd/PrimaryLogPG.cc
src/test/librados/tier_cxx.cc