]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: aggregate metrics on the fly
authorIgor Golikov <igolikov@ibm.com>
Sun, 10 Aug 2025 17:48:55 +0000 (17:48 +0000)
committerIgor Golikov <igolikov@ibm.com>
Sun, 10 Aug 2025 17:48:55 +0000 (17:48 +0000)
commit3cd9aeb17ac67cd20b6a4e60950ac07d4c4cfa30
treeff579619d13d014f23af15c91248ac4aefcf8895
parenteb1b97c46eb57a152d72826638de5f91f834226f
client: aggregate metrics on the fly

Instead of keeping vector<SimpleIOMetric>, which must be capped in terms
of memory footprint, aggregate metrics per each subvolume on the fly,
keeping memory footprint minimal.

Signed-off-by: Igor Golikov <igolikov@ibm.com>
Fixes: https://tracker.ceph.com/issues/68929
src/client/Client.cc
src/client/Client.h
src/include/cephfs/metrics/Types.h