mirror of
https://github.com/ceph/ceph
synced 2025-04-11 04:02:04 +00:00
Merge pull request #27766 from majianpeng/msg-noneed-set-connection
msg/async: no-need set connection for Message. Reviewed-by: Ricardo Dias <rdias@suse.com>
This commit is contained in:
commit
2ff7c1328b
@ -971,8 +971,6 @@ CtPtr ProtocolV1::handle_message_footer(char *buffer, int r) {
|
||||
}
|
||||
}
|
||||
|
||||
message->set_connection(connection);
|
||||
|
||||
#if defined(WITH_LTTNG) && defined(WITH_EVENTTRACE)
|
||||
if (message->get_type() == CEPH_MSG_OSD_OP ||
|
||||
message->get_type() == CEPH_MSG_OSD_OPREPLY) {
|
||||
|
@ -1448,8 +1448,6 @@ CtPtr ProtocolV2::handle_message() {
|
||||
}
|
||||
}
|
||||
|
||||
message->set_connection(connection);
|
||||
|
||||
#if defined(WITH_LTTNG) && defined(WITH_EVENTTRACE)
|
||||
if (message->get_type() == CEPH_MSG_OSD_OP ||
|
||||
message->get_type() == CEPH_MSG_OSD_OPREPLY) {
|
||||
|
Loading…
Reference in New Issue
Block a user