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

hammer: tests: qa/workunits/rbd: respect RBD_CREATE_ARGS environment variable #9722

Merged
merged 1 commit into from Jun 16, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion qa/workunits/rbd/import_export.sh
Expand Up @@ -132,7 +132,7 @@ rbd rm sparse

echo "zeros export to sparse file"
# Must be tricky to make image "by hand" ; import won't create a zero image
rbd create sparse --size 4
rbd create $RBD_CREATE_ARGS sparse --size 4
prefix=$(rbd info sparse | grep block_name_prefix | awk '{print $NF;}')
# drop in 0 object directly
dd if=/dev/zero bs=4M count=1 | rados -p rbd put ${prefix}.000000000000 -
Expand Down