Launchpad has imported 2 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=1092208.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-04-29T02:00:52+00:00 Anchor wrote:

Description of problem:

When creating an RBD volume with 'virsh vol-create-as', the newly
created volume gets a stripe unit of 1 byte and a stripe count of
4194304. This results in an RBD volume which is unusably slow (in my
tests, it took over 30 minutes for GRUB to load in an affected guest).


How reproducible:

Run the following on an RBD-enabled system:
  virsh vol-create-as $RBD_POOL test 10G
  rbd info $RBD_POOL/test


Actual results:

'rbd info' reports a stripe unit and count as described above.


Expected results:

The stripe unit should be 4 MiB, and the stripe count should be 1.


Additional info:

This is caused by incorrect parameter ordering on line 495 of
src/storage/storage_backend_rbd.c. libvirt passes stripe_count before
stripe_unit to rbd_create3, but the order of these parameters in
librbd.h has stripe_unit before stripe_count. Thus, these parameters end
up being reversed.

I will be sending a trivial patch which fixes this problem to the
libvirt mailing list shortly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1447030/comments/0

------------------------------------------------------------------------
On 2014-04-29T04:15:51+00:00 Eric wrote:

Will be in 1.2.4 release

commit 4cd508ba4fc3cc33c72629fe8b9012e73d8dd8bf
Author: Steven McDonald <[email protected]>
Date:   Tue Apr 29 12:19:01 2014 +1000

    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 <[email protected]>

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1447030/comments/1


** Changed in: libvirt
       Status: Unknown => Fix Released

** Changed in: libvirt
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1447030

Title:
  RBD volumes created with reversed stripe_unit and stripe_count
  parameters

To manage notifications about this bug go to:
https://bugs.launchpad.net/libvirt/+bug/1447030/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to