1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00
Zdenek Kabelac 022ebb0cfe lv_manip: better work with PERCENT_VG modifier
When using 'lvcreate -l100%VG' and there is big disproportion between
real available space and requested setting - automatically fallback
to 100%FREE.

Difference can be seen when VG is big and already most space was
allocated, so the requestion 100%VG can end (and by spec for % modifier
it's correct) as LV with size of 1%VG.  Usually this is not a big
problem - buit in some cases - like cache-pool allocation, this
can result a big difference for chunksize selection.

With this patch it's more closely match common-sense logic without
the need of reitteration of too big changes in lvm2 core ATM.

TODO: in the future there should be allocator solving all allocations
in a single call.
2019-01-21 12:53:15 +01:00
..
2016-01-21 12:11:37 +01:00
2019-01-15 10:23:47 -06:00
2017-07-10 14:58:33 +02:00
2019-01-15 10:23:47 -06:00
2016-01-21 12:11:37 +01:00
2017-03-28 16:11:35 +01:00
2018-11-06 14:18:41 -06:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2017-06-27 00:27:36 +02:00
2018-07-09 15:29:16 +02:00
2018-12-04 14:06:46 -06:00
2016-01-21 12:11:37 +01:00
2018-07-11 11:26:42 -05:00
2018-07-11 11:26:42 -05:00
2019-01-15 10:23:47 -06:00
2018-06-15 11:03:55 -05:00
2019-01-15 10:23:47 -06:00
2016-01-21 12:11:37 +01:00
2019-01-15 10:23:47 -06:00
2018-06-08 14:36:59 +02:00
2019-01-15 10:23:47 -06:00
2016-01-21 12:11:37 +01:00
2018-06-13 14:14:03 -05:00
2016-01-21 12:11:37 +01:00
2019-01-15 10:23:47 -06:00
2019-01-15 10:23:47 -06:00
2018-04-30 16:55:02 -05:00
2018-07-11 11:26:42 -05:00
2019-01-15 10:23:47 -06:00
2018-07-11 11:26:42 -05:00
2019-01-15 10:23:47 -06:00
2019-01-15 10:23:47 -06:00
2019-01-15 10:23:47 -06:00
2019-01-15 10:23:47 -06:00
2018-07-11 11:26:42 -05:00
2019-01-15 10:23:47 -06:00