projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce95af1
)
crimson/net: add peer_global_id to Connection
author
Yingxin Cheng
<yingxincheng@gmail.com>
Mon, 11 Mar 2019 08:12:57 +0000
(16:12 +0800)
committer
Kefu Chai
<kchai@redhat.com>
Fri, 5 Apr 2019 03:21:19 +0000
(11:21 +0800)
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
src/crimson/net/Connection.h
patch
|
blob
|
history
diff --git
a/src/crimson/net/Connection.h
b/src/crimson/net/Connection.h
index b1b72c7463253217ef0231b749543f11a2fecd60..d69d32ab0a10528d0ad3c640a55d47b82cc8bf70 100644
(file)
--- a/
src/crimson/net/Connection.h
+++ b/
src/crimson/net/Connection.h
@@
-29,6
+29,9
@@
class Connection : public seastar::enable_shared_from_this<Connection> {
entity_addr_t peer_addr;
peer_type_t peer_type = -1;
+ public:
+ uint64_t peer_global_id = 0;
+
public:
Connection() {}
virtual ~Connection() {}