Bug #13517
common: fix reset max in Throttle using perf reset command
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
we could not reset max to 0 in Throttle using perf reset command,
such as throttle-osd_client_messages, throttle-filestore_bytes and so on.
Associated revisions
common: fix reset max in Throttle using perf reset command
we could not reset max to 0 in Throttle using perf reset command,
such as throttle-osd_client_messages, throttle-filestore_bytes and so on.
If we call PerfCountersBuilder::add_u64, the data.type would be PERFCOUNTER_U64.
the reset function would skip it if data.type is PERFCOUNTER_U64.
Fixes: #13517
Signed-off-by: Xinze Chi <xinze@xsky.com>
History
#1 Updated by Loïc Dachary over 8 years ago
#2 Updated by Loïc Dachary over 8 years ago
- Status changed from New to Fix Under Review
#3 Updated by Sage Weil over 8 years ago
- Status changed from Fix Under Review to Resolved