]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async: cut the middle-man 7625/head
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 11 Feb 2016 08:38:46 +0000 (09:38 +0100)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Tue, 23 Feb 2016 14:52:42 +0000 (15:52 +0100)
commitc5a6b6a5ae801323fe89434367964db7d07c1e64
tree406c921733dacac487c50210cb9df42161a0430f
parent153f71904f4dd2cff22687f48bbdadfafe221765
msg/async: cut the middle-man

Get rid of complete_bl and let messenger write directly to outcoming_bl of
a connection. Also, if message bufferlist is small enough, append its
contents to outcoming_bl directly, so we'll use less iovecs and in best
case, pack entire message (together with header and footer added in
write_message()) in single bufferptr.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
src/msg/async/AsyncConnection.cc
src/msg/async/AsyncConnection.h