Project

General

Profile

Bug #13517

common: fix reset max in Throttle using perf reset command

Added by Xinze Chi over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
10/17/2015
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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 over 3 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 Loic Dachary over 3 years ago

  • Status changed from New to Need Review

#3 Updated by Sage Weil over 3 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF