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>
X
Xuehan Xu committed
cb2321f7fa6821d6d96a790f403a65410e095654
Parent: cfd916b