[PATCH 3/4] Honor the skip list when allocating leftover sectors.
David Lehman
dlehman at redhat.com
Wed Jul 9 18:08:47 UTC 2014
The skip list was honored in the main share-based allocation loop, but
not in the secondary loop that allocates the leftovers.
---
blivet/partitioning.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/partitioning.py b/blivet/partitioning.py
index cfae2ef..48d72ff 100644
--- a/blivet/partitioning.py
+++ b/blivet/partitioning.py
@@ -1508,7 +1508,7 @@ class Chunk(object):
# allocate any leftovers in pool to the first partition
# that can still grow
for p in self.requests:
- if p.done:
+ if p.done or p in self.skip_list:
continue
growth = self.pool
--
1.9.3
More information about the anaconda-patches
mailing list