diff options
author | Radoslaw Zarzynski <rzarzyns@redhat.com> | 2019-03-09 01:09:21 +0100 |
---|---|---|
committer | Radoslaw Zarzynski <rzarzyns@redhat.com> | 2019-03-11 01:24:01 +0100 |
commit | ffe64d23f82d90e3413e49e8d9dd03f220fba901 (patch) | |
tree | 57dbdb9fe98a9847ba719dfd4fee30e5418802a8 /src/msg/async/ProtocolV2.h | |
parent | msg/async, v2: rectify the encapsulation of rx_segments_{desc,data}. (diff) | |
download | ceph-ffe64d23f82d90e3413e49e8d9dd03f220fba901.tar.xz ceph-ffe64d23f82d90e3413e49e8d9dd03f220fba901.zip |
msg/async, v2: introduce pre_auth buffers.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Diffstat (limited to 'src/msg/async/ProtocolV2.h')
-rw-r--r-- | src/msg/async/ProtocolV2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/msg/async/ProtocolV2.h b/src/msg/async/ProtocolV2.h index afdd7a568bf..825f873e0dd 100644 --- a/src/msg/async/ProtocolV2.h +++ b/src/msg/async/ProtocolV2.h @@ -102,6 +102,12 @@ private: utime_t recv_stamp; utime_t throttle_stamp; + struct { + ceph::bufferlist rxbuf; + ceph::bufferlist txbuf; + bool enabled {true}; + } pre_auth; + bool keepalive; ostream &_conn_prefix(std::ostream *_dout); |