[master/rhel7-branch] fix handling of logvol --percent (#1116435)

David Lehman dlehman at redhat.com
Thu Sep 18 21:58:37 UTC 2014


Originally, logvol --percent specified a fixed size as a portion of
the vg's free space. When I rewrote storage for F11, I broke that.
Apparently it sees limited usage.

The way it works now (broken) is the percentage specifies how much to
grow the request, which means you also have to provide a base size and
indicate that the request is growable. This is not especially useful IMO.
It's complicated conceptually and awkward in general.

The new/oldest way is to treat the percentage as a fixed size for the
request based on the free space in the vg. Nice and easy to use. Requests
with percentage-based sizes can also be growable -- the request-growing
code makes no distinction between requests with percentage-based sizes
and those defined with literal sizes.

I'll propose this for f21 when I'm doing bugzilla work tomorrow.



More information about the anaconda-patches mailing list