]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: make sure pg meta is valid when loading pg
authorXuehan Xu <xxhdx1985126@163.com>
Thu, 12 Mar 2020 05:53:39 +0000 (13:53 +0800)
committerXuehan Xu <xxhdx1985126@163.com>
Fri, 27 Mar 2020 03:08:30 +0000 (11:08 +0800)
commitadbdd753f1d16942b279e5ae0cea01c2efd633f6
treedd61f5b907020f67a433ebebca344d5cc395a325
parent19479643ad6836f8980292570027a6c6b24b7f74
crimson: make sure pg meta is valid when loading pg

currently, PGMeta instances are all local variables in method,
which would lead to daggling reference/pointer problems when using
seastar::futures.

Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
src/crimson/osd/osd.cc
src/crimson/osd/pg.cc