Bug #13720
librbd: perf counter section name hase empty id
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The expected format for librbd perf counter section name is: librbd-%{id}-%{pool}/name[@%{snap}]. But in generated names id is empty, because perf counters are initialized earlier then id is properly initialized.
Example:
Actual:
% ceph --admin-daemon out/client.admin.7526.asok perf dump
{
"librbd--rbd/testimg26926": {
...
Expected:
% ceph --admin-daemon out/client.admin.7526.asok perf dump |head {
"librbd-3e0d3f18f55b-rbd/testimg26926": {
...
Associated revisions
librbd: start perf counters after id is initialized
So the perf counters section name has non-empty id.
Fixes: #13720
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
History
#1 Updated by Mykola Golub over 8 years ago
#2 Updated by Nathan Cutler over 8 years ago
- Status changed from New to Fix Under Review
- Source changed from other to Community (dev)
#3 Updated by Jason Dillaman over 8 years ago
- Status changed from Fix Under Review to Resolved