]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: stay loner if client has B and no other reason to switch state
authorSage Weil <sage@newdream.net>
Mon, 8 Dec 2008 21:50:46 +0000 (13:50 -0800)
committerSage Weil <sage@newdream.net>
Tue, 9 Dec 2008 17:58:24 +0000 (09:58 -0800)
commit57578b3ef3746be6ec5d4d1b627dec2fe4b79093
tree84915749e619ee2f4d561339be0dcad7be2657ff
parentc035a733a81c2f4a811cb8529c75696b1b63df67
mds: stay loner if client has B and no other reason to switch state

If the client has dirty data, and there is no other reason to
toggle the lock state, leave it as LONER.  The client will write
out at its leisure, and we'll avoid an unstable lock state that
is waiting on a potentially slow writeout.
src/mds/Locker.cc