Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librbd: perf section name: use hyphen to separate components #6516

Merged
merged 2 commits into from Nov 11, 2015

Conversation

trociny
Copy link
Contributor

@trociny trociny commented Nov 10, 2015

"/" and "@" characters make invalid xml format output.

Fixes: #13719
Signed-off-by: Mykola Golub mgolub@mirantis.com

ceph --admin-daemon $(rbd_watch_asok ${image}) perf dump |
sed -ne 's/^.*"'${counter}'": \([0-9]*\).*$/\1/p'
name=$(ceph --format xml --admin-daemon $(rbd_watch_asok ${image}) \
perf schema | $XMLSTARLET el -d3 |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing the definition of XMLSTARLET, otherwise looks good

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XMLSTARLET is defined in qa/workunits/ceph-helpers.sh, which is included above.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, missed that. will merge in the morning

Mykola Golub added 2 commits November 11, 2015 09:19
"/" and "@" characters make invalid xml format output.

Fixes: ceph#13719
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
@trociny
Copy link
Contributor Author

trociny commented Nov 11, 2015

Rebased to kick make check bot.

jdurgin added a commit that referenced this pull request Nov 11, 2015
librbd: perf section name: use hyphen to separate components

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin jdurgin merged commit f661a55 into ceph:master Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants