]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msgr: clean up Pipe::queue_received locking
authorSage Weil <sage.weil@dreamhost.com>
Fri, 11 Feb 2011 05:09:42 +0000 (21:09 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 12 Feb 2011 06:41:40 +0000 (22:41 -0800)
commit940d58d94ef6dec16affea88c5c79b1f5eba16db
tree3399918420c1117c70e9524eb029aaa5a6d79419
parent7e1ebd7a084192d93be446e5a936d80bb5ba0c09
msgr: clean up Pipe::queue_received locking

Ensure we maintain the invariant that a pipe has a non-empty queue IFF
the pipe is queued.

Prompted by #798.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/msg/SimpleMessenger.cc