]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: Add pg_stats and pool_stats direct access
authorDavid Zafman <dzafman@redhat.com>
Wed, 8 Jan 2020 01:39:11 +0000 (17:39 -0800)
committerDavid Zafman <dzafman@redhat.com>
Wed, 26 Feb 2020 19:59:53 +0000 (11:59 -0800)
commit69b9e0472d99f7e5278b6579a2d73ffa83ecf1b1
treeeaa492c9d7620d664613d15f9e47739fec461c56
parent1112584621016c4a8cac1bedb1a1b8b17c394f7f
mgr: Add pg_stats and pool_stats direct access

More efficient to get just what you need out of the PGMap

mgr/progress: Use pg_stats instead of pg_dump
mgr/diskprediction_cloud: Use pg_stats instead of pg_dump
mgr/balancer: Use pg_stats and pool_stats instead of pg_dump

Fixes: https://tracker.ceph.com/issues/43556
Signed-off-by: David Zafman <dzafman@redhat.com>
src/mgr/ActivePyModules.cc
src/pybind/mgr/balancer/module.py
src/pybind/mgr/diskprediction_cloud/agent/metrics/ceph_cluster.py
src/pybind/mgr/mgr_module.py
src/pybind/mgr/progress/module.py
src/pybind/mgr/selftest/module.py