]> sourceware.org Git - lvm2.git/commit
lv_manip: ensure it will fit bellow threshold
authorZdenek Kabelac <zkabelac@redhat.com>
Sun, 25 Oct 2015 18:19:39 +0000 (19:19 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Sun, 25 Oct 2015 20:03:11 +0000 (21:03 +0100)
commit40eea582aea512db7fceafd8559bf66df0733b55
tree752dde4fd1b89fb5d000a167ec66973a162372b9
parentb780d329aa9ce249bf5164154c81cefd9b276970
lv_manip: ensure it will fit bellow threshold

Use single code to evaluate if the percentage value has
crossed threshold.

Recalculate amount value to always fit bellow
threshold so there are not need any extra reiterations
to reach this state in case policy amount is too small.
WHATS_NEW
lib/metadata/lv_manip.c
This page took 0.035733 seconds and 5 git commands to generate.