1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00
lvm2/lib/metadata
Zdenek Kabelac 0e5beb92c5 config: introduce validate_metadata
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.
2024-10-31 17:55:31 +01:00
..
cache_manip.c cache_manip: reset sigint handler 2024-10-30 12:57:34 +01:00
integrity_manip.c cov: avoid expression overflow 2024-08-09 13:20:44 +02:00
lv_alloc.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lv_manip.c lv_manip: init major minor in alloc_lv 2024-10-28 20:07:37 +01:00
lv.c metadata: lv_set_name use uniq_insert 2024-10-30 12:59:08 +01:00
lv.h metadata: pahole logical_volume 2024-10-30 12:59:08 +01:00
merge.c clang: check segment lv is defined 2024-10-25 01:26:40 +02:00
metadata-exported.h cleanup: typos in comments 2024-08-30 16:51:15 +02:00
metadata.c config: introduce validate_metadata 2024-10-31 17:55:31 +01:00
metadata.h metadata: use radix tree to find lv_names 2024-10-24 17:38:09 +02:00
mirror.c cov: ensure detached_log_lv exists before use 2024-10-25 01:26:40 +02:00
pool_manip.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_list.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
pv_manip.c check_pv_segments: resolve pv name once 2024-10-24 17:38:09 +02:00
pv_map.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
pv_map.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
pv.c cov: clean up pvid and vgid usage 2021-08-16 11:31:15 -05:00
pv.h cov: clean up pvid and vgid usage 2021-08-16 11:31:15 -05:00
raid_manip.c clang: ensure pointer is defined 2024-10-25 01:26:40 +02:00
segtype.c segtype: add linear 2018-06-05 16:23:18 +02:00
segtype.h metadata: use radix tree to find lv_names 2024-10-24 17:38:09 +02:00
snapshot_manip.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
takeover_matrix.h const: raid takover arrays 2024-05-04 01:01:57 +02:00
thin_manip.c thin: check only for profiled config vars 2024-10-22 19:36:00 +02:00
vdo_manip.c metadata: add lv_set_name 2024-10-24 17:38:09 +02:00
vg.c metadata: use radix tree to find lv_names 2024-10-24 17:38:09 +02:00
vg.h metadata: use radix tree to find lv_names 2024-10-24 17:38:09 +02:00
writecache_manip.c metadata: missed lv_set_name users 2024-10-24 21:24:26 +02:00