]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix to call correct ObjectContext
authormyoungwon oh <ohmyoungwon@gmail.com>
Sat, 20 Feb 2021 14:02:55 +0000 (23:02 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 29 Mar 2021 08:15:43 +0000 (17:15 +0900)
commit170b30e35eb0ff61a026cfba3eee0c713a77bac4
treeef9b22653d98d283df9543b3101ee7eec9cbf406
parent242e2ee2840e44f5ce0269d724d5701432692a10
osd: fix to call correct ObjectContext

During trim_object(), oid from oi differs with oid from ctx
in dec_all_refcount(). To avoid this, use oi's oid when retreiving
objectcontext.

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