]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/mdbalancer: fixup assignment type in the hit_dir 9112/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Fri, 13 May 2016 03:37:34 +0000 (11:37 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Fri, 13 May 2016 07:46:54 +0000 (15:46 +0800)
commit0956b66e9cfeeaad96dd4c792f5008899c6ab7fe
tree7d051feb9487085c7698cccd4192377795c1c3ca
parent27820f7f4dc0fe21ace5cccf2cd9b17dc56e22b2
mds/mdbalancer: fixup assignment type in the hit_dir

The DecayCounter of val is double type,
so dir_pop&pop_sp&rdp should be double type,
otherwise it will affect the accuracy of calculation.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/mds/MDBalancer.cc