From: Matan Breizman Date: Tue, 29 Jul 2025 11:19:50 +0000 (+0000) Subject: crimson/os/seastore: SeaStore::test_mount() into coroutines X-Git-Tag: testing/wip-vshankar-testing-20250917.163544-debug~14^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d4060fbac2a50476e9c22a716ec5ba368cc6bf7f;p=ceph-ci.git crimson/os/seastore: SeaStore::test_mount() into coroutines Signed-off-by: Matan Breizman --- 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()