]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: limit size of MExportDir message
authorYan, Zheng <zyan@redhat.com>
Fri, 3 Nov 2017 06:14:07 +0000 (14:14 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 22 Nov 2017 08:25:05 +0000 (16:25 +0800)
commitca5c987860821a7784db1c6a74d1c661cdf427cc
treed02dc31199225419dc2a91202f4a4e286250700c
parent1f27ebbef95b39f7fa3c94d5dc9f191a58c9f9b4
mds: limit size of MExportDir message

Only export port of subtree if whole subtree tree is too large for
sinlge MExportDir message. The un-exported portion are added to
export queue.

Fixes: http://tracker.ceph.com/issues/21892
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/common/options.cc
src/mds/Migrator.cc
src/mds/Migrator.h