From d4060fbac2a50476e9c22a716ec5ba368cc6bf7f Mon Sep 17 00:00:00 2001 From: Matan Breizman Date: Tue, 29 Jul 2025 11:19:50 +0000 Subject: [PATCH] crimson/os/seastore: SeaStore::test_mount() into coroutines Signed-off-by: Matan Breizman --- src/crimson/os/seastore/seastore.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/crimson/os/seastore/seastore.cc b/src/crimson/os/seastore/seastore.cc index e39479de414..31a96368ca8 100644 --- a/src/crimson/os/seastore/seastore.cc +++ b/src/crimson/os/seastore/seastore.cc @@ -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() -- 2.39.5