mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +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. |
||
---|---|---|
.. | ||
cache_manip.c | ||
integrity_manip.c | ||
lv_alloc.h | ||
lv_manip.c | ||
lv.c | ||
lv.h | ||
merge.c | ||
metadata-exported.h | ||
metadata.c | ||
metadata.h | ||
mirror.c | ||
pool_manip.c | ||
pv_alloc.h | ||
pv_list.c | ||
pv_manip.c | ||
pv_map.c | ||
pv_map.h | ||
pv.c | ||
pv.h | ||
raid_manip.c | ||
segtype.c | ||
segtype.h | ||
snapshot_manip.c | ||
takeover_matrix.h | ||
thin_manip.c | ||
vdo_manip.c | ||
vg.c | ||
vg.h | ||
writecache_manip.c |