]> 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 25522/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:41:22 +0000 (22:41 +0100)
commitcb95482a3021d821159f8ec931dc330baececcb3
tree8cc684396c702975b63a57e933b60f8844e7bac3
parent7423dbc6b8e0eb789d0ce3398351374b93d2f4cc
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