Skip to content

Commit

Permalink
Merge pull request #9722 from trociny/wip-16289-hammer
Browse files Browse the repository at this point in the history
hammer: qa/workunits/rbd: respect RBD_CREATE_ARGS environment variable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
  • Loading branch information
trociny committed Jun 16, 2016
2 parents 054a90e + 5cd922c commit 2e156d7
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 2e156d7

Please sign in to comment.