]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: move load avg units conversion to the client 63379/head
authorRonen Friedman <rfriedma@redhat.com>
Tue, 20 May 2025 07:29:04 +0000 (02:29 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 20 May 2025 10:45:59 +0000 (05:45 -0500)
commit948e0426b3527d9ab1c92b7a8b90ba6f4bec8043
treeaaad5597d246f4a4211755dfca722a124ccbb58b
parent162baba744c26cc0f0a0497769f22f7dcb89e4d2
osd: move load avg units conversion to the client

The OSD calls OsdScrub::update_load_average() to find out the load
average, and notes it down in a performance counter. The system
load average is multipled by 100 (to improve precision). That
multiplication should be on the side of the client, not the
scrub queue service.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/OSD.cc
src/osd/scrubber/osd_scrub.cc
src/osd/scrubber/osd_scrub.h