[blivet] small patches for partitioning

David Lehman dlehman at redhat.com
Wed Jul 9 18:08:44 UTC 2014


Patch 1 means that kickstart with multiple growable requests could end
up with some unusable results due to all requests thinking they're
entitled to 0% of the free sectors in the chunk/disk. Float would probably
suffice since it's only calculating a percentage, but using Decimal has
become a habit.

Patches 2 and 3 are minor bugs I noticed when doing some other work.

Patch 4 has been sitting on the shelf for a couple of months for no real
reason.

David Lehman (4):
  Don't use integer division to calculate a fraction.
  A Chunk is done growing when its pool is empty.
  Honor the skip list when allocating leftover sectors.
  Add some tests for Chunk and Request class hierarchy.

 blivet/partitioning.py     |   7 ++-
 tests/partitioning_test.py | 138 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 142 insertions(+), 3 deletions(-)

-- 
1.9.3



More information about the anaconda-patches mailing list