mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
msg/async: add numevents statistics for external_eventsReviewed-by: Haomai Wang <haomai@xsky.com>
msg/async: add numevents statistics for external_events Reviewed-by: Haomai Wang <haomai@xsky.com>
This commit is contained in:
commit
bd77cd4139
@ -646,7 +646,7 @@ void AsyncConnection::process()
|
||||
|
||||
// verify header crc
|
||||
if (msgr->crcflags & MSG_CRC_HEADER && header_crc != header.crc) {
|
||||
ldout(async_msgr->cct,0) << __func__ << " reader got bad header crc "
|
||||
ldout(async_msgr->cct,0) << __func__ << " got bad header crc "
|
||||
<< header_crc << " != " << header.crc << dendl;
|
||||
goto fail;
|
||||
}
|
||||
|
@ -430,6 +430,7 @@ int EventCenter::process_events(int timeout_microseconds)
|
||||
if (e)
|
||||
e->do_request(0);
|
||||
cur_process.pop_front();
|
||||
numevents++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user