]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: can_xlock_soon() should include LOCK_LOCK
authorSage Weil <sage@newdream.net>
Fri, 9 Jan 2009 18:44:02 +0000 (10:44 -0800)
committerSage Weil <sage@newdream.net>
Fri, 9 Jan 2009 18:44:02 +0000 (10:44 -0800)
commit24860c9f9ac2343acb92301c2a4cb64f05c5db81
tree2f733da430575718f7b957a1ea77f151ac8dbf61
parentfae7a9770eee8c76c48c342dddd07f08a2418bd1
mds: can_xlock_soon() should include LOCK_LOCK

i.e., if we are already xlocked.  This avoids calling {file,scatter}_lock
on an already LOCK_LOCK lock.
src/mds/FileLock.h
src/mds/Locker.cc
src/mds/ScatterLock.h