]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/osd: add perf test for calc_pg_upmaps with mutual overfull upmap pairs 53891/head
authorKefu Chai <k.chai@proxmox.com>
Wed, 6 May 2026 03:32:03 +0000 (11:32 +0800)
committerKefu Chai <k.chai@proxmox.com>
Wed, 6 May 2026 04:33:58 +0000 (12:33 +0800)
commit1c8d6876b1ab9bce8fd454be848ddf8f15e2973e
tree031f25e1a9b9b18c3944d38e57d637ea0180216a
parent2ba9e1da7c3b767e3d34b5238508bb78e2f064f5
test/osd: add perf test for calc_pg_upmaps with mutual overfull upmap pairs

Reproduces the scenario from https://tracker.ceph.com/issues/63137: 500
cohort OSDs all at deviation +2, linked by pg_upmap_items rings with R=5
pairs each.  Before the fix, every incoming pair triggered a test_change
call that got rejected -- calc_pg_upmaps took ~11 minutes.  After, it
exits in ~200ms.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/test/osd/TestOSDMap.cc