]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: increment refcount if adjacent clones do not have a same chunk
authormyoungwon oh <ohmyoungwon@gmail.com>
Sat, 15 Aug 2020 15:10:14 +0000 (00:10 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Wed, 26 Aug 2020 01:33:55 +0000 (10:33 +0900)
commitbcac3a7dc40bac69118f5da37d8f01605381bafc
treecf5222f6a6b92e39e22df7f6601d8b554a744b7f
parent04ffe1c5533c15e55f3c4c24582746bf6462cdae
osd: increment refcount if adjacent clones do not have a same chunk

Upon set-chunk, check a previous snapshot and increment the target
reference if there is no the same chunk in the previous snapshot

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