summaryrefslogtreecommitdiffstats
path: root/.readthedocs.yml
diff options
context:
space:
mode:
authorRonen Friedman <rfriedma@redhat.com>2024-12-29 12:26:28 +0100
committerRonen Friedman <rfriedma@redhat.com>2024-12-31 07:09:12 +0100
commit65be7d6505591a53790081c31a5bbb16e71855c1 (patch)
treef41063f84d4b0e61d334bde727a693b04e54c859 /.readthedocs.yml
parentosd/scrub: abort reserving scrub if an operator-initiated scrub is (diff)
downloadceph-65be7d6505591a53790081c31a5bbb16e71855c1.tar.xz
ceph-65be7d6505591a53790081c31a5bbb16e71855c1.zip
qa/standalone/scrub: add build_pg_dicts()
a helper function that builds bash dictionaries: pg to acting set, pg to primary & pg to pool. Also added are two helper functions that make use of the dictionaries: count_common_active() to count the number of common OSDs in the acting set of two PGs, and find_disjoint_but_primary() to find a PG that is disjoint from the first PG, apart from possibly having the same primary OSD. Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Diffstat (limited to '.readthedocs.yml')
0 files changed, 0 insertions, 0 deletions