From: Adam Kupczyk Date: Fri, 2 Feb 2024 12:22:15 +0000 (+0000) Subject: os/bluestore: Fix bdev_label_main_try_reserve X-Git-Tag: v20.0.0~1321^2~26 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c7b4bcbaec6f6c478ae91f5b32c626d98e1e2635;p=ceph.git os/bluestore: Fix bdev_label_main_try_reserve It added valid_locations which it should not been doing. Signed-off-by: Adam Kupczyk --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index e97a86ab1ff4..42299ae8ec9a 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -6750,7 +6750,6 @@ void BlueStore::_main_bdev_label_try_reserve() alloc->foreach(look_for_bdev); for (auto& location : accepted_positions) { alloc->init_rm_free(location, lsize); - bdev_label_valid_locations.push_back(location); } for (size_t i = 0; i < candidate_positions.size(); i++) {