From: David Lehman dlehman@redhat.com
We adjusted the amount of disk space needed, but we didn't alter the planned device size. --- blivet/devicefactory.py | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/blivet/devicefactory.py b/blivet/devicefactory.py index 2096800..cd87194 100644 --- a/blivet/devicefactory.py +++ b/blivet/devicefactory.py @@ -1306,13 +1306,6 @@ def _get_child_factory_kwargs(self):
def _get_new_device(self, *args, **kwargs): """ Create and return the factory device as a StorageDevice. """ - - if self.container_raid_level and self.container_size in [SIZE_POLICY_AUTO, - SIZE_POLICY_MAX]: - # container pushed to the limit, but we need some extra space for - # metadata, so we need to make the LV smaller - extra_md_space = lvm.LVM_PE_SIZE * len(self.disks) * 5 - kwargs["size"] -= extra_md_space return self.storage.newLV(*args, **kwargs)
def _set_name(self):