]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) 15040/head
authorKefu Chai <kchai@redhat.com>
Thu, 11 May 2017 05:13:39 +0000 (13:13 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 11 May 2017 05:16:31 +0000 (13:16 +0800)
commitf3c44a0dfc859f6f625a92e727e0e521ed4a9207
tree99952ea8fc346497b6547c9568911863ef6c6d8d
parent2a616ddbc39033982a348d4f548c209108dc758f
osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting)

when a callback is called, it could be facing a PG already shut down by
OSD. but if that callback wants to shut that PG down. it should check
the PG's status first.

Fixes: http://tracker.ceph.com/issues/19902
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/PrimaryLogPG.cc