]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msgr: include priority in msg header, make dispatch a priority queue
authorSage Weil <sage@newdream.net>
Wed, 8 Oct 2008 17:49:12 +0000 (10:49 -0700)
committerSage Weil <sage@newdream.net>
Wed, 8 Oct 2008 17:49:12 +0000 (10:49 -0700)
commitc3a68d7424c0296c5899d47ef15402d135c92922
tree448c41c1c4ac8775e7fa50999498c8a10e18446f
parentb3d6eef6a9da15ef33fc9949779bf8ec03a84b64
msgr: include priority in msg header, make dispatch a priority queue

Generalizes previous hack that put messages from the monitor at the front of the
dispatch queue.  Monitor now just sets a (non-default) default_send_priority
of CEPH_MSG_PRIO_HIGH.  That value is used only if the message priority isn't
set explicitly by set_priority() before being queued for send.
src/TODO
src/cmon.cc
src/include/ceph_fs.h
src/msg/Message.h
src/msg/Messenger.h
src/msg/SimpleMessenger.cc
src/msg/SimpleMessenger.h