MCPcopy Create free account
hub / github.com/ceph/ceph / get_num_active_clean

Method get_num_active_clean

qa/tasks/ceph_manager.py:2719–2724  ·  view source on GitHub ↗

Find the number of active and clean pgs.

(self)

Source from the content-addressed store, hash-verified

2717 return num
2718
2719 def get_num_active_clean(self):
2720 """
2721 Find the number of active and clean pgs.
2722 """
2723 pgs = self.get_pg_stats()
2724 return self._get_num_active_clean(pgs)
2725
2726 def _get_num_active_clean(self, pgs):
2727 num = 0

Callers 1

wait_for_cleanMethod · 0.95

Calls 2

get_pg_statsMethod · 0.95
_get_num_active_cleanMethod · 0.95

Tested by

no test coverage detected