]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: avoid for the two copy to cancel each other
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 12 Mar 2021 13:01:23 +0000 (22:01 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Fri, 9 Apr 2021 01:15:04 +0000 (10:15 +0900)
commit9d7844b305cbc78fbc1ca66295f48909f50b2e4f
tree7c62ad5191d922855d04c5805b1735f986b773bd
parentdb13b9abd5a6eed11b237f8a69c6f347241ca142
osd: avoid for the two copy to cancel each other

add the op to blocked_list, then return early
if the destination of copy-from already exists and
the head object is same

fixes: https://tracker.ceph.com/issues/49726

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