]> xenbits.xensource.com Git - libvirt.git/commit
storage: Attempt error recovery in virStorageBackendDiskCreateVol
authorJohn Ferlan <jferlan@redhat.com>
Wed, 21 Jan 2015 20:38:05 +0000 (15:38 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 28 Jan 2015 22:28:03 +0000 (17:28 -0500)
commit290ffcfbbce4ade0335f4192f400aef70301ef95
tree0456f3aa2e92363aca33d34e661eaa2ea114d884
parent1e79ad6d355cf7d5af623e7ad6199b3945fdedeb
storage: Attempt error recovery in virStorageBackendDiskCreateVol

During virStorageBackendDiskCreateVol if virStorageBackendDiskReadPartitions
fails, then we were leaving with an error and a partition on the disk for
which there was no corresponding volume and used space on the disk which
could be reclaimable through direct parted activity. On a subsequent restart,
reload, or refresh the volume may magically appear too.
src/storage/storage_backend_disk.c