]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: recover unreadable snapshot before reading ref. count info 44181/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Tue, 6 Apr 2021 01:29:56 +0000 (10:29 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 2 Dec 2021 07:18:09 +0000 (16:18 +0900)
commit0d79b1ee42be7caf8fbedad9d61e6f69f4f4ffd1
tree526be8142a6ecd19f6372dd8a6d8bdcfbcb7c7b6
parentc896cb3eedfe0e0bbdefa0f787f43d4efedda954
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.

Fixes: https://tracker.ceph.com/issues/50192
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit acc2a1e12f04efd6b8c25b92a4a438a73851afe1)
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h
src/osd/objclass.cc