1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/metadata
Heinz Mauelshagen a5672ff088 lv_manip: avoid unreleased memory pool(s) message on RAID extend
In case of different PV sizes in a VG, the lvm2 allocator falls short
to define extended segments resiliently asked for 100%FREE RaidLV extension
and a RAID distinct allocation check fails.  Fix is to release a memory pool
on the resulting error path.

Until the lvm2 allocator gets enhanced (WIP) to do such complex (and other)
allocations proper, a workaround is to extend a RaidLV to any free space on
its already allocated PVs by defining those PVs on the lvextend command line
then iteratively run further such lvextend commands to extend it to its
final intended size.  Mind, this may be a non-trivial extension interation.

(cherry picked from commit 557b2850ce)
2024-08-07 16:59:27 +02:00
..
cache_manip.c cov: enum mapping cache format 2024-05-08 01:55:21 +02:00
integrity_manip.c lvs: set first attr flag for raid integrity images 2023-11-17 13:26:23 -06: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: avoid unreleased memory pool(s) message on RAID extend 2024-08-07 16:59:27 +02:00
lv.c lvs: set first attr flag for raid integrity images 2023-11-17 13:26:23 -06:00
lv.h lv: remove unused declaration 2024-01-10 14:02:22 +01:00
merge.c vdo: check_point_frequence is unused option 2023-06-29 13:10:42 +02:00
metadata-exported.h const: _ops text handler 2024-05-04 01:01:42 +02:00
metadata.c cov: extra pointer validation 2024-04-10 00:03:09 +02:00
metadata.h const: _ops text handler 2024-05-04 01:01:42 +02:00
mirror.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
pool_manip.c vdo: enhance error path 2024-05-04 00:57:14 +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 cov: use literal for printf 2024-05-08 01:55:21 +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 lvm: use configure proc dir in lvm.conf 2024-04-15 13:38:44 +02:00
vdo_manip.c cov: check for overlow math 2024-05-08 01:55:21 +02:00
vg.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
vg.h metadata: remember parsing size of VG metadata 2021-09-27 18:49:41 +02:00
writecache_manip.c writecache: reuse some API 2024-05-01 10:55:17 +02:00