]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: properly wake up dentry waiters after fragmenting dirfrag
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 5 May 2014 08:23:14 +0000 (16:23 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 8 May 2014 03:29:18 +0000 (11:29 +0800)
commit1f60060258e7a85e2ad0c70ce6b1acc0b5457e4a
tree50969aeeb0e8e5900b77ddad17f6bb11a058ccf1
parent5fa2bae3a5e19fc616e48133c68cf9e265b45d5c
mds: properly wake up dentry waiters after fragmenting dirfrag

When active MDS wants to fragment a replica dirfrag, it should set
the 'replay' parameter of MDCache::adjust_dir_fragments() to false.
It makes sure that CDir::merge/split wake up any dentry waiter.

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