From ca5c987860821a7784db1c6a74d1c661cdf427cc Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Fri, 3 Nov 2017 14:14:07 +0800 Subject: [PATCH] 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" --- src/common/options.cc | 4 ++ src/mds/Migrator.cc | 94 ++++++++++++++++++++++++++++++++++++------- src/mds/Migrator.h | 4 +- 3 files changed, 86 insertions(+), 16 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index 89005ae3589..26ce3dd0733 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5786,6 +5786,10 @@ std::vector