]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: xlock versionlock on rename if witnesses
authorSage Weil <sage@newdream.net>
Fri, 16 Apr 2010 20:51:58 +0000 (13:51 -0700)
committerSage Weil <sage@newdream.net>
Fri, 16 Apr 2010 20:52:47 +0000 (13:52 -0700)
commitd8be246ba3bab23608b40e2649d448475ca0fd94
tree756d08040c6e0ca452445639d9fc50edbbe40dd4
parentb4d423151a75eb84378c6139f9da31c89ff729d4
mds: xlock versionlock on rename if witnesses

This ensures that we don't pipeline dentry linkage updates when there
are witnesses.  That can cause problems because replicas don't see
projected dentry linkage info, and will get confused when they look at
the replica of the srcdn and it's, say, NULL and not srci.
src/mds/Server.cc