mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
0e5beb92c5
Add lvm.conf config/validate_metadata configurable setting. Allows to disable validation of volume_group structure before writing to disk. Call of vg_validate() is supposed to catch any inconsistency of in-memory volume group structure and possibly early aborting commnand before making any more 'damage' in case the VG struct is found insistent after some metadata manipulation. This is almost always useful for devel - and also for normal user as for small metadata size this doesn't add too much overhead. However if the volume_group size is large and operations are just adding removing simple LVs - this validation time may add noticable to final command running time. So if the user seeks the highest perfomance of command and does not do any 'complex' metadata manipulation - it's reasonably safe to disable validation (with the use of setting "none") here. |
||
---|---|---|
.. | ||
config_settings.h | ||
config.c | ||
config.h | ||
defaults.h |