]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) 15066/head
authorKefu Chai <kchai@redhat.com>
Thu, 11 May 2017 05:13:39 +0000 (13:13 +0800)
committerAlexey Sheplyakov <asheplyakov@mirantis.com>
Fri, 12 May 2017 13:15:53 +0000 (17:15 +0400)
commit2aec591cfe1ba69631860b4886d34de80f752bd7
treead8683701c869e15179631293916a6736d8d8656
parentae0eab53f0bb05c954fc98e019e2d5a054dbba45
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>
(cherry picked from commit f3c44a0dfc859f6f625a92e727e0e521ed4a9207)
src/osd/PrimaryLogPG.cc