]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: don't modify inode that is not projected 13052/head
authorYan, Zheng <zyan@redhat.com>
Sun, 22 Jan 2017 02:24:28 +0000 (10:24 +0800)
committerYan, Zheng <zyan@redhat.com>
Sun, 22 Jan 2017 06:52:32 +0000 (14:52 +0800)
commitfb0bb07b2f49be69aacc73aca99ef4d03f0da8c2
tree81f69d8e400a3ac614344bbb5ddb8e18addbed73
parent24413051d6c26f4a5ce06d86fe45507cfa2434a8
mds: don't modify inode that is not projected

In the slave rename prep case (rename inode to different auth mds), the
rename inode is not projected. CDir::check_rstat() gets confused if
MDCache::_project_rstat_inode_to_frag() updates inode's accounted rstat
in that case.

Fixes: http://tracker.ceph.com/issues/16768
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc