]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async: delay bufferlist construction
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Fri, 5 Feb 2016 11:00:34 +0000 (12:00 +0100)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Fri, 12 Feb 2016 13:25:42 +0000 (14:25 +0100)
commita07aea6da8293be7b590c6695fa6bc3ca655347b
tree0c8f122544be3347b48b17fbf7d8533e14b5b24b
parentfb727143263998b38d9cfec10d4a1af625242cae
msg/async: delay bufferlist construction

We're using this bl only when removing *some* of data in front of
outcoming_bl, so there's no need to construct it each time we empty
*entire* outcoming_bl.
Though something more efficient than tmp bufferlist and splice is
probably better solution.

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