storage: Adjust calculation of alloc/capacity for disk
storage: Adjust calculation of alloc/capacity for disk

https://bugzilla.redhat.com/show_bug.cgi?id=1247987

Calculation of the extended and logical partition values for the disk
pool is complex. As the bz points out an extended partition should have
it's allocation initialized to 0 (zero) and keep the capacity as the size
dictated by the extents read.  Then for each logical partition found,
adjust the allocation of the extended partition.

Finally, previous logic tried to avoid recalculating things if a logical
partition was deleted; however, since we now have special logic to handle
the allocation of the extended partition, just make life easier by reading
the partition table again - rather than doing the reverse adjustment.

jardasgit/libvirt,crobinso/libvirt,rlaager/libvirt,jardasgit/libvirt,crobinso/libvirt,eskultety/libvirt,taget/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,datto/libvirt,VenkatDatta/libvirt,taget/libvirt,andreabolognani/libvirt,jardasgit/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,datto/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,olafhering/libvirt,fabianfreyer/libvirt,crobinso/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,zippy2/libvirt,olafhering/libvirt,libvirt/libvirt,jfehlig/libvirt,rlaager/libvirt,rlaager/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,zippy2/libvirt,rlaager/libvirt,nertpinx/libvirt,eskultety/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,zippy2/libvirt,crobinso/libvirt,nertpinx/libvirt,eskultety/libvirt,taget/libvirt,jardasgit/libvirt,olafhering/libvirt,datto/libvirt,datto/libvirt,libvirt/libvirt,jfehlig/libvirt,rlaager/libvirt,olafhering/libvirt,fabianfreyer/libvirt,datto/libvirt,zippy2/libvirt,eskultety/libvirt,nertpinx/libvirt,andreabolognani/libvirt,eskultety/libvirt,taget/libvirt,jardasgit/libvirt,libvirt/libvirt,taget/libvirt,andreabolognani/libvirt,libvirt/libvirt