]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: consolidate loner checks
authorSage Weil <sage@newdream.net>
Tue, 21 Apr 2009 23:26:15 +0000 (16:26 -0700)
committerSage Weil <sage@newdream.net>
Tue, 21 Apr 2009 23:27:15 +0000 (16:27 -0700)
commitc8abf5196d2d718891350d7c7cc214c98492833a
treec696c4f54a80ba0570d89ee0bb651dbc7de06c2d
parent5e3d2dffdaf3a402fe93afdb4cb2e49b1c8b324f
mds: consolidate loner checks

We want to set the loner before eval'ing locks, and drop loner after
eval'ing (after each has a chance to move out of EXCL).  We also need to
drop loner in each eval so that an individual wrlock drop will do the
right thing.

Still not perfect, but better.
src/mds/Locker.cc