]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: use aux subtrees for export pinned inodes
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 2 May 2017 04:28:15 +0000 (00:28 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 2 May 2017 04:30:35 +0000 (00:30 -0400)
commit6bd58fefb7ca76e4e313a2309cd70833d75f657a
treec1ec6fd96a7611f24bac9271e8448aae99280082
parent7a76ea50b524ca8f3318d04dc301e7d6f6395b14
mds: use aux subtrees for export pinned inodes

Idea here is that a pinned inode should not be exported when its parent is.
Setting the pinned inode's dirfrags to aux subtrees prevents them from being
merged with a parent subtree.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/test_exports.py
src/mds/CInode.cc
src/mds/CInode.h
src/mds/Migrator.cc