1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Heinz Mauelshagen 557b2850ce 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.
2024-07-18 14:36:47 +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: annotate known use of validated lv name 2024-05-27 16:35:23 +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: avoid unreleased memory pool(s) message on RAID extend 2024-07-18 14:36:47 +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 vdo: check_point_frequence is unused option 2023-06-29 13:10:42 +02:00
metadata-exported.h lvmlockd: parse lockopt string into flags 2024-06-27 13:29:03 -05:00
metadata.c Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -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 writecache: reuse some API 2024-05-01 10:55:17 +02:00