storage_backend_rbd: Correct argument order to rbd_create3
authorSteven McDonald <steven.mcdonald@anchor.net.au>
Tue, 29 Apr 2014 02:19:01 +0000 (12:19 +1000)
committerEric Blake <eblake@redhat.com>
Tue, 29 Apr 2014 04:11:09 +0000 (22:11 -0600)
commit4cd508ba4fc3cc33c72629fe8b9012e73d8dd8bf
tree71880b3978e695fed6da02604ff42b5e35552d22
parenteae00fb59a8e126d1cdc942c46e26c5b43c2be8b
storage_backend_rbd: Correct argument order to rbd_create3

The stripe_unit and stripe_count arguments are passed to rbd_create3 in
the wrong order, resulting in a stripe size of 1 byte with 4194304
stripes on newly created RBD volumes.

https://bugzilla.redhat.com/show_bug.cgi?id=1092208
Signed-off-by: Steven McDonald <steven.mcdonald@anchor.net.au>
src/storage/storage_backend_rbd.c