1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-11-06 08:26:59 +03:00
lvm2/lib/metadata
Zdenek Kabelac 07b6174f7c validation: support empty lv segments
Revert 373372c8ab and instead update
our validation code to handle LVs with empty segment - currently
we should need this only for pvmove operation, thus such LV should
have name  'pvmove%u'.

This fixes a problem where user tried i.e. pvmove on a VG with single
PV - as reported: https://github.com/lvmteam/lvm2/issues/148

Reported-by: bob@redhat.com
2024-08-22 14:36:28 +02:00
..
cache_manip.c cov: annotate known use of validated lv name 2024-05-27 16:35:23 +02: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 validation: support empty lv segments 2024-08-22 14:36:28 +02:00
lv.c cleanup: some typos 2024-05-27 15:35:57 +02:00
lv.h lv: remove unused declaration 2024-01-10 14:02:22 +01:00
merge.c validation: support empty lv segments 2024-08-22 14:36:28 +02:00
metadata-exported.h integrity: add --integritysettings for tuning 2024-08-07 17:40:34 -05:00
metadata.c integrity: add --integritysettings for tuning 2024-08-07 17:40:34 -05:00
metadata.h const: _ops text handler 2024-05-04 01:01:42 +02:00
mirror.c cov: annotate known use of validated lv name 2024-05-27 16:35:23 +02:00
pool_manip.c cov: annotate known use of validated lv name 2024-05-27 16:35:23 +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 cov: remove unneeded includes 2021-07-28 00:49:28 +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 raid_manip: prevent reshape with freed component SubLVs 2024-06-18 14:14:24 +02:00
segtype.c segtype: add linear 2018-06-05 16:23:18 +02:00
segtype.h const: _ops segtype handler 2024-05-04 01:01:57 +02:00
snapshot_manip.c raidintegrity: allow snapshots 2023-05-11 11:02:52 -05:00
takeover_matrix.h const: raid takover arrays 2024-05-04 01:01:57 +02:00
thin_manip.c cleanup: some typos 2024-05-27 15:35:57 +02:00
vdo_manip.c cov: annotate known use of validated lv name 2024-05-27 16:35:23 +02:00
vg.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
vg.h lvmlockd: skip LV unlocking with no lvmlockd or no lockspace 2024-06-27 13:29:03 -05:00
writecache_manip.c cov: drop unused header inclusion 2024-08-09 13:20:44 +02:00