]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: queue inodes into MDCache::export_pin_queue after setattr is journaled 25521/head
authorXuehan Xu <xuxuehan@360.cn>
Mon, 19 Nov 2018 06:56:50 +0000 (14:56 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Dec 2018 21:40:40 +0000 (22:40 +0100)
commit2fc48c488e08e07a20339c2f6085eba24c3d994f
tree2f61ae1b9cf43a6008be067a3e78723e31e13d4a
parent1ba35ea151186e00c0feaba6f61ddab714ff2b7b
mds: queue inodes into MDCache::export_pin_queue after setattr is journaled

This makes sure that, when doing inodes' migration, their "export_pin" is indeed the
mds it should be pinned to.

Fixes: http://tracker.ceph.com/issues/37368
Signed-off-by: Xuehan Xu <xuxuehan@360.cn>
(cherry picked from commit 93cbee3dd9c1446a027e7673645a1856ea68637a)
src/mds/CInode.cc
src/mds/CInode.h
src/mds/Server.cc