]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: fix the pgs_per_weight calculation error when multiple pools 69637/head
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 24 Jun 2026 07:31:11 +0000 (15:31 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Wed, 24 Jun 2026 07:49:44 +0000 (15:49 +0800)
commitcb2321f7fa6821d6d96a790f403a65410e095654
tree0875ce7a06261b95c50c90a424d62ea3f0445230
parentcfd916b1b4190c1d961efcc700feba9164e9dd87
osd/OSDMap: fix the pgs_per_weight calculation error when multiple pools
are being balanced

Before this commit, When multiple pools are being balanced,
pgs_per_weight only considers the last pool, which is wrong.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/osd/OSDMap.cc