]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: adjust rdlock forwarding on replicas
authorSage Weil <sage@newdream.net>
Tue, 16 Mar 2010 18:10:58 +0000 (11:10 -0700)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2010 18:10:58 +0000 (11:10 -0700)
commit3941ee2e775fc49d30e12923fef1316f7cde674c
treed280c912f492ae5669bc358f6be09a7870167646
parentb818f5bc8a9b925777687b2102f6b900dd9e50c3
mds: adjust rdlock forwarding on replicas

Include LOCK, MIX, and associated gather states.  An EXCL on the
auth (which is not temporary) is a LOCK on the replica, so fw.
(Otherwise we'd need another state.)  MIX should fw too, since
it is also stable and the replcia can't rdlock.

Include leading states because rdlock waits for WAIT_RD, not
stable.
src/mds/locks.c