]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fixup OpTracker destruct assert, waiting_for_osdmap take ref 26862/head
authorlinbing <hawkerous@gmail.com>
Tue, 19 Feb 2019 09:28:54 +0000 (17:28 +0800)
committerAshish Singh <assingh@redhat.com>
Fri, 8 Mar 2019 20:08:09 +0000 (01:38 +0530)
     with OpRequest

Fixes: http://tracker.ceph.com/issues/38377
Signed-off-by: linbing <linbing@t2cloud.net>
(cherry picked from commit a6c1366d9a480ce66ada42a85a49b43e233206d0)

src/osd/OSD.cc

index c2f69e5f28be45d5411e6d94fcf6e2da8684d854..4f37077a1cd25d0dde0c35f7a53f97f60430696e 100644 (file)
@@ -3306,6 +3306,7 @@ int OSD::shutdown()
   op_shardedwq.drain();
   {
     finished.clear(); // zap waiters (bleh, this is messy)
+    waiting_for_osdmap.clear();
   }
 
   // unregister commands