1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
Zdenek Kabelac 4fbde0143a Support rounding of percentage upward
We want to keep this logic -
when LV is extend - extend the LV by at least given amount,
when LV is reduced - reduce the LV by at most given amount.

So for this the rounding needs to be used.
Current logic which seems to satisfy give rule is to round up all
extent values for LV resize upward except for values with '-' sign
that are round downward.

This patch also fixes the problem when  lvextend --use-polices tried
to extend LV the by i.e. 20% - but the resulting 20% were smaller
the extent size thus before this patch no extension happened.
2012-01-05 15:38:18 +00:00
..
2011-09-19 19:36:52 +00:00
2011-12-21 13:58:38 +00:00
2011-09-07 08:50:35 +00:00
2011-09-07 08:50:35 +00:00
2011-11-08 12:16:53 +00:00
2011-01-24 20:02:07 +00:00
2011-09-07 09:48:49 +00:00
2011-04-28 16:22:47 +00:00
2011-02-04 21:19:03 +00:00
2011-02-04 21:19:03 +00:00