]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: avoid creating unnecessary subtrees during load balance
authorYan, Zheng <zyan@redhat.com>
Wed, 6 Dec 2017 06:19:04 +0000 (14:19 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 10 Apr 2018 01:19:47 +0000 (09:19 +0800)
commitb9fb3a4cffdad1ac2a01a415edeaddbf7236edbc
tree48722fa5de8e54934a5b0a38863e192496df591b
parentcd6f77c6a08cf0d7f0a995664e7a8981675b1b9c
mds: avoid creating unnecessary subtrees during load balance

When choosing dirfrags for exporting, consider subtrees imported
from other MDS first. It's because that exporting dirfrags chosen
by MDBalancer::find_export() will create new subtrees.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDBalancer.cc