]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: Fix bdev_label_main_try_reserve
authorAdam Kupczyk <akupczyk@ibm.com>
Fri, 2 Feb 2024 12:22:15 +0000 (12:22 +0000)
committerAdam Kupczyk <akupczyk@ibm.com>
Mon, 22 Jul 2024 12:28:50 +0000 (12:28 +0000)
It added valid_locations which it should not been doing.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
src/os/bluestore/BlueStore.cc

index e97a86ab1ff48c55446ef87994e177cff6161ed9..42299ae8ec9a2800fd13a7bc28aa734f4f785178 100644 (file)
@@ -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++) {