Project

General

Profile

Bug #13517

common: fix reset max in Throttle using perf reset command

Added by Xinze Chi about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% 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

Revision eea40268 (diff)
Added by Xinze Chi about 7 years ago

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 <>

History

#2 Updated by Loïc Dachary about 7 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Sage Weil about 7 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF