From: Greg Farnum Date: Wed, 24 May 2017 03:11:27 +0000 (-0700) Subject: osd: make sure we drop Backoff PGRefs on shutdown X-Git-Tag: v12.1.0~57^2~27^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0bce2c622ea8ed539151b7680b775bbf5a74026c;p=ceph.git osd: make sure we drop Backoff PGRefs on shutdown Fixes: http://tracker.ceph.com/issues/19931 Signed-off-by: Greg Farnum --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 8c4f08c7090d..c3539c1dbc4f 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -10444,6 +10444,8 @@ void PrimaryLogPG::on_shutdown() cancel_proxy_ops(false); apply_and_flush_repops(false); cancel_log_updates(); + // we must remove PGRefs, so do this this prior to release_backoffs() callers + clear_backoffs(); pgbackend->on_change();