]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: handle freeze authpin race 1584/head
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 1 Apr 2014 03:19:10 +0000 (11:19 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Wed, 2 Apr 2014 03:03:11 +0000 (11:03 +0800)
commit06ecb2c74c113c52d90cb3f2b76f70ed7b6ce774
treef32edeb6d1288162dea9a91919a816af28458fa8
parentd1967f3251aac89327f7322a9a9e2251622a5865
mds: handle freeze authpin race

For across authority rename, the MDS first freezes the source inode's
authpin. It happens while the source dentry isn't locked. So when the
inode's authpin become frozen, the source dentry may have changed and
be linked to a different inode.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/Mutation.cc
src/mds/Mutation.h
src/mds/Server.cc