]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: migrate strays part by part when shutdown mds 24324/head
authorYan, Zheng <zyan@redhat.com>
Mon, 13 Aug 2018 08:47:53 +0000 (16:47 +0800)
committerNathan Cutler <ncutler@suse.com>
Fri, 19 Oct 2018 20:57:55 +0000 (22:57 +0200)
commit55f94f5b053cb36d8bac9a71fc8befd82b9bef6c
tree7509a66f2890aaca4be3c74f56dbf3751eb29339
parent1fdbedfc6a08ac9363ac6b3a3390cda1f877ed9e
mds: migrate strays part by part when shutdown mds

migrating all strays at once may require lots of memory and cpu time.

Fixes: http://tracker.ceph.com/issues/26926
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 24eea7e11d014fbb7cb468b66e84d0b747cd9359)

Conflicts:
        src/mds/MDCache.cc
src/mds/Server.cc
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc
src/mds/StrayManager.cc