]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd: make sure we drop Backoff PGRefs on shutdown
authorGreg Farnum <gfarnum@redhat.com>
Wed, 24 May 2017 03:11:27 +0000 (20:11 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Thu, 25 May 2017 18:42:10 +0000 (11:42 -0700)
Fixes: http://tracker.ceph.com/issues/19931
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/osd/PrimaryLogPG.cc

index 8c4f08c7090dd738ee3fcbbe61684e8593814e77..c3539c1dbc4ff5a7f8061cf0904bcaa38ef07c8d 100644 (file)
@@ -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();