]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Messenger,DispatchQueue: add ms_fast_dispatch mechanism
authorSamuel Just <sam.just@inktank.com>
Thu, 7 Nov 2013 21:46:08 +0000 (13:46 -0800)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:15 +0000 (15:29 -0700)
commit4e20ce19619bc90353e8206c558c24d229c6abf2
tree1f722b319af7b5d92cc4dd1d5ba09f36dbc8e924
parenta62db614a633aa0545854c7127bb2cd689426702
Messenger,DispatchQueue: add ms_fast_dispatch mechanism

This adds a Dispatcher interface allowing the implementation
to accept ms_fast_dispatch calls for some messages without
going through the DispatchQueue. To support that, we also add
1) new synchronous notifications on connect and accept events
2) a fast_preprocess mechanism

Signed-off-by: Samuel Just <sam.just@inktank.com>
Signed-off-by: Greg Farnum <greg@inktank.com>
src/msg/DispatchQueue.cc
src/msg/DispatchQueue.h
src/msg/Dispatcher.h
src/msg/Messenger.h
src/msg/Pipe.cc