From: Igor Fedotov Date: Mon, 27 May 2024 14:59:01 +0000 (+0300) Subject: os/bluestore: add free space spatial histogram to adminsock X-Git-Tag: v20.2.1~15^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6b897f248c4e3f29b55c666ae7031a457ef57ec8;p=ceph.git os/bluestore: add free space spatial histogram to adminsock Signed-off-by: Igor Fedotov (cherry picked from commit 71ce48752f163065568cc21784590530aabbf96c) --- diff --git a/src/os/bluestore/Allocator.cc b/src/os/bluestore/Allocator.cc index 67cd72e8369c..7953ce3b4e9c 100644 --- a/src/os/bluestore/Allocator.cc +++ b/src/os/bluestore/Allocator.cc @@ -140,4 +140,3 @@ double Allocator::get_fragmentation_score() double terrible = (sum / block_size) * get_score(block_size); return (ideal - score_sum) / (ideal - terrible); } -