]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: recover unreadable snapshot before reading ref. count info
authormyoungwon oh <ohmyoungwon@gmail.com>
Tue, 6 Apr 2021 01:29:56 +0000 (10:29 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 8 Apr 2021 01:08:41 +0000 (10:08 +0900)
commitacc2a1e12f04efd6b8c25b92a4a438a73851afe1
treefe63f9324386b268c17777014bf18a9b43acedd2
parent94a0af289c594a238fce1f393d4f4ec392258138
osd: recover unreadable snapshot before reading ref. count info

Manifest objects needs adjacent clones when incrementing/decrementing
refcount. This commit makes the current code to call get_manifest_ref_count
before reading ref. count info.

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