There are two create_lvm_image methods in nova -- virt/libvirt/utils.py and virt/libvirt/imagebackend.py. I assume we're talking about the version in utils.py here because the other one dd's over the lvm.
Isn't an issue here that zeroing will be very slow for large LVMs and therefore delay instance start? Regardless, I've attached a first cut at a patch for comments.
There are two create_lvm_image methods in nova -- virt/libvirt/ utils.py and virt/libvirt/ imagebackend. py. I assume we're talking about the version in utils.py here because the other one dd's over the lvm.
Isn't an issue here that zeroing will be very slow for large LVMs and therefore delay instance start? Regardless, I've attached a first cut at a patch for comments.