]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: add keepalive support to Connection
authorKefu Chai <kchai@redhat.com>
Sat, 18 Aug 2018 10:04:20 +0000 (18:04 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 21 Aug 2018 08:22:27 +0000 (16:22 +0800)
commit06dab8f1ad34377c768ae51fcddb524e3bdfe5ad
treed887916c10e4cd3c37a24a084b45046713a71a89
parent06b0db64bef44b983a3188157b5a6a05d9178d01
crimson/net: add keepalive support to Connection

* do not mix buffered writes and zero-copy writes.

/root/ceph/src/seastar/include/seastar/core/iostream-impl.hh:114:
seastar::future<> seastar::output_stream::write(seastar::net::packet)
[with CharType = char]: Assertion `!_end && "Mixing buffered writes and
zero-copy writes not supported yet"' failed.
Aborting on shard 0.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/net/Connection.h
src/crimson/net/SocketConnection.cc
src/crimson/net/SocketConnection.h