From 17fcb9a92f8b8bc7161dc6966ab7a81cb26c6547 Mon Sep 17 00:00:00 2001 From: Adam Kupczyk Date: Fri, 2 Feb 2024 12:22:15 +0000 Subject: [PATCH] os/bluestore: Fix bdev_label_main_try_reserve It added valid_locations which it should not been doing. Signed-off-by: Adam Kupczyk (cherry picked from commit c7b4bcbaec6f6c478ae91f5b32c626d98e1e2635) --- src/os/bluestore/BlueStore.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index f2349c3f32e..ff2fe17e88f 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -6733,7 +6733,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++) { -- 2.39.5