]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: unmount store in OSD::stop()
authorKefu Chai <kchai@redhat.com>
Fri, 15 Mar 2019 05:34:32 +0000 (13:34 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 20 Mar 2019 03:50:05 +0000 (11:50 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd.cc

index be101c3b2c5a4153bf0050b75002ce7cc134be5e..f1ffa14e7af6f24925da1b0d2a72445b850d487a 100644 (file)
@@ -279,6 +279,7 @@ seastar::future<> OSD::_send_boot()
 
 seastar::future<> OSD::stop()
 {
+  logger().info("stop");
   // see also OSD::shutdown()
   state.set_stopping();
   return gate.close().then([this] {
@@ -289,6 +290,8 @@ seastar::future<> OSD::stop()
     return public_msgr->shutdown();
   }).then([this] {
     return cluster_msgr->shutdown();
+  }).then([this] {
+    return store->umount();
   });
 }