]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/DispachQueue: hold lock in IncomingQueue::discard_queue()
authorSage Weil <sage@inktank.com>
Mon, 16 Jul 2012 01:45:55 +0000 (18:45 -0700)
committerSage Weil <sage@inktank.com>
Sat, 21 Jul 2012 01:36:31 +0000 (18:36 -0700)
commit5a62dfef3d11005b5875ea6a1abaaf0bc2eaf2bc
treef048d590c7032152ed7dd6bb61508169a2e0ff27
parent35b7bca35767996bfad4d7e5c7f546ec20d9cede
msg/DispachQueue: hold lock in IncomingQueue::discard_queue()

This prevents races with the dispatch thread, among other things.

Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/DispatchQueue.cc