]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: drop the reference right after modification
authormyoungwon oh <ohmyoungwon@gmail.com>
Tue, 14 Jul 2020 11:30:07 +0000 (20:30 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Tue, 18 Aug 2020 13:07:25 +0000 (22:07 +0900)
commitb2b70bf9cc50491e1ee66feb89eeedad86daaace
tree0011aff7e82a522fd72f998b90d7f30b2c79d971
parentfc86661b791e6cdb5529f1544f608d62949b53e4
osd: drop the reference right after modification

To simply chunk_info_t state and keep unreferenced chunk minimal,
we prefer to drop the reference and remove manifest pointer.
Also, FLAG_DIRTY will be no longer used in chunk_info_t.

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