]> sourceware.org Git - lvm2.git/commit
thin: compensate metadata size by extra percent
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 11 Sep 2020 11:31:55 +0000 (13:31 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 11 Sep 2020 19:42:37 +0000 (21:42 +0200)
commit9f78acfee9e1f50ea58b532880c5e3e2f6161105
treec01059d23a079434d5fffa1ff9a245612fb56978
parentb798554a20147535566576fce8d2c839a090cf84
thin: compensate metadata size by extra percent

When using --use-policy for automatic extension of thin-pool,
the extension of thin-pool's metadata itself can actually take
some extra space.
Since I'm not aware of exact compensation formula, add just
1% extra to calculated amount and hope it fits.

Wanted target is to always have usable thin-pool that fits
bellow pool_metadata_min_threshold().
WHATS_NEW
lib/metadata/lv_manip.c
This page took 0.035067 seconds and 5 git commands to generate.