]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix reference counting during tier_flush
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 6 Nov 2020 09:52:53 +0000 (18:52 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Fri, 6 Nov 2020 09:58:11 +0000 (18:58 +0900)
commitcaeafa9d7837b999523dbe21311b60269b8077a6
tree3756a91fdfc38e3c06681c599d9a87e8a7aed4c9
parent719659822006e8e4aa40128806238e5fab417138
osd: fix reference counting during tier_flush

When dealing with reference on manifest object including snapshot,
consider increment/decrement refcount between old and new chunk_map.
See the comment in this commit.

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