]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Refactor find_best_info and choose_acting
authorBill Scales <bill_scales@uk.ibm.com>
Mon, 28 Jul 2025 08:21:54 +0000 (09:21 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 17 Sep 2025 08:43:26 +0000 (09:43 +0100)
commit0c94c96ac3ab068221e3f6ddc93a185f4f50e259
treef746a948f4ff9b9e525251597eced23a77bdd729
parentb9ecda4c9da4868ca441d4316053215a83e39ef5
osd: Refactor find_best_info and choose_acting

Refactor find_best_info to have separate function to calculate
maxles and minlua. The refactor makes history_les_bound
optional, tidy up the choose_acting interface removing this
where it is not used.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit f1826fdbf136dc7c96756f0fb8a047c9d9dda82a)
src/osd/PeeringState.cc
src/osd/PeeringState.h