]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os/seastore: SeaStore::test_mount() into coroutines
authorMatan Breizman <mbreizma@redhat.com>
Tue, 29 Jul 2025 11:19:50 +0000 (11:19 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 4 Sep 2025 12:39:17 +0000 (12:39 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/os/seastore/seastore.cc

index e39479de4141d59df1764307edfd1d4c5e8af56a..31a96368ca82a73ea691e1bb0c437c87360406f0 100644 (file)
@@ -266,10 +266,8 @@ SeaStore::mount_ertr::future<> SeaStore::test_mount()
   INFO("...");
 
   ceph_assert(seastar::this_shard_id() == primary_core);
-  return shard_stores.local().mount_managers(
-  ).then([FNAME] {
-    INFO("done");
-  });
+  co_await shard_stores.local().mount_managers();
+  INFO("done");
 }
 
 SeaStore::mount_ertr::future<> SeaStore::mount()