]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Revert "storage: lvm: Separate creating of the volume from building"
authorJán Tomko <jtomko@redhat.com>
Wed, 12 Feb 2014 13:23:30 +0000 (14:23 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 12 Feb 2014 13:51:05 +0000 (14:51 +0100)
commit42bbde2d062d4c48100cdd02c397f7eb28e81f8e
tree004d0a230d0c704aeed10455d65cc57d9727ec00
parent5b0dc11db8f5626d670bcc42ae6147fd095c5cee
Revert "storage: lvm: Separate creating of the volume from building"

This reverts commit af1fb38f55d4fb87e0fcaee1e973fa9c6713b1e6.
With it, creating new logical volumes fails:
https://www.redhat.com/archives/libvir-list/2014-February/msg00658.html

In the storage driver, we expect CreateVol to fill out the volume key,
but the LVM backend fills the key with the uuid reported by lvs after the
logical volume is created.
src/storage/storage_backend_logical.c