]> xenbits.xensource.com Git - libvirt.git/commit
rbd: Use rbd_create3 to create RBD format 2 images by default
authorWido den Hollander <wido@widodh.nl>
Tue, 11 Feb 2014 12:10:22 +0000 (12:10 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 11 Feb 2014 12:10:22 +0000 (12:10 +0000)
commit0227889ab0dfbbf16ba0e146800d9efcb631e281
treeaf544bd65c0c3ad9c2f1f64aa52fbad9320a6e58
parent97410063337801048125e3945ed4713890aac762
rbd: Use rbd_create3 to create RBD format 2 images by default

This new RBD format supports snapshotting and cloning. By having
libvirt create images in format 2 end-users of the created images
can benefit from the new RBD format.

Older versions of libvirt can work with this new RBD format as long
as librbd supports format 2. RBD format is supported by librbd since
version 0.56 (Ceph Bobtail).

Signed-off-by: Wido den Hollander <wido@widodh.nl>
src/storage/storage_backend_rbd.c