]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: add export_pin feature
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 11 Apr 2017 19:16:02 +0000 (15:16 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 19 Apr 2017 22:21:19 +0000 (18:21 -0400)
commit0b420be7e9f5b325315db101ea65258a9043468a
tree710b459a10df085ec79dbe89cc195a337c79848e
parent082e86c58f5abb93e2a912e603d86f12bc47972c
mds: add export_pin feature

This allows the client/admin to pin a directory tree to a particular rank,
preventing its export by the dynamic balancer.

Fixes: http://tracker.ceph.com/issues/17834
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
15 files changed:
doc/cephfs/multimds.rst
qa/suites/multimds/basic/tasks/cephfs_test_exports.yaml [new file with mode: 0644]
qa/tasks/cephfs/test_exports.py [new file with mode: 0644]
src/common/config_opts.h
src/mds/CInode.cc
src/mds/CInode.h
src/mds/MDBalancer.cc
src/mds/MDBalancer.h
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSDaemon.h
src/mds/Migrator.cc
src/mds/Server.cc
src/mds/mdstypes.cc
src/mds/mdstypes.h