]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: properly drop imported xlocks.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 31 Mar 2011 00:10:05 +0000 (17:10 -0700)
committerSage Weil <sage@newdream.net>
Mon, 18 Apr 2011 17:40:04 +0000 (10:40 -0700)
commit5299aabe1c3f20c5000c5051d45dd2bb17177ad5
tree2e155c28786e88437e9a3bf872eec09b97a01cb6
parent97e357c4308e5ac50f677d167336822e6a7aabec
mds: properly drop imported xlocks.

Because we can do an inode import during a rename that skips the usual
channels, we were getting into an odd state with the xlocks (which
were formerly remote and are now local). Clean up the record of
those remote xlocks.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc