]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: LogClient: delegate message reference release to caller
authorJoao Eduardo Luis <joao.luis@inktank.com>
Wed, 16 Jul 2014 17:08:51 +0000 (18:08 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Wed, 27 Aug 2014 17:21:47 +0000 (18:21 +0100)
commit15e9fc45bee10fae1657a7449e72c6ee41e9daac
tree76adf1919880fedd8e9f491b4ec29191ab4a6298
parent59dac4275ede292e7a48aa5ad7b784ee37049fc8
common: LogClient: delegate message reference release to caller

Caller decides whether to release the message's reference.  It may want
to use the same message on another LogClient, if we decide not to handle
it.

Currently we always handle the message and thus always return true.  This
will not be as such later in the patch series.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/common/LogClient.cc
src/common/LogClient.h
src/mon/MonClient.cc
src/mon/Monitor.cc