]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: limit size of MExportDir message 20339/head
authorYan, Zheng <zyan@redhat.com>
Fri, 3 Nov 2017 06:14:07 +0000 (14:14 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 6 Feb 2018 17:33:02 +0000 (09:33 -0800)
commitc63fc964cef1d45fd0a4de9c6715bcd16badc597
tree36a5f57dee137d339180b187880668485138f310
parenta7fd4f95d2d4462f4e382cd85f0b011786319ff9
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>
(cherry picked from commit ca5c987860821a7784db1c6a74d1c661cdf427cc)
src/common/options.cc
src/mds/Migrator.cc
src/mds/Migrator.h