]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid adding replicas of target dentry to rename witnesses 1741/head
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 30 Apr 2014 10:30:25 +0000 (18:30 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Wed, 30 Apr 2014 17:33:14 +0000 (01:33 +0800)
commit21bbdf5dd974839dc538750406554d0de6237742
tree43207eeb1b802aaff1ae50af64c0d4f00e4fcf5c
parent3a7d668477ac69dad5b3350763105bb1e90c42f3
mds: avoid adding replicas of target dentry to rename witnesses

When the rename target dentry is NULL, we can use MDentryLink messages
instead of slave requests to update its replicas.

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