1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-09 01:18:39 +03:00
lvm2/lib/metadata
Milan Broz 6733116a19 Fix all segments memory is allocated from vg private mempool.
Physical segments were still allocated from global
command context mempool.

This leads to very high memory usage when
activating large VG (vgchange).
(Memory usage was about 2G when >3000LVs).

Fix it by properly using vg->vgmem private pool,
so all the memory is released early.

New memory pool parameter is needed here for pv_split_segment
function.

Also fix the same problem in some minor allocations
(vg description, lv segment split).
2010-03-31 17:23:18 +00:00
..
lv_alloc.h Add ability to create mirrored logs for mirror LVs. 2010-03-26 22:15:43 +00:00
lv_manip.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
merge.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
metadata-exported.h Improve activation monitoring option processing 2010-03-23 22:30:18 +00:00
metadata.c Optimise PV segments search. 2010-03-31 17:21:40 +00:00
metadata.h Optimise PV segments search. 2010-03-31 17:21:40 +00:00
mirror.c Add ability to create mirrored logs for mirror LVs. 2010-03-26 22:15:43 +00:00
pv_alloc.h Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_manip.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_map.c Allow ALLOC_ANYWHERE to split contiguous areas. 2010-03-25 21:19:26 +00:00
pv_map.h Allow ALLOC_ANYWHERE to split contiguous areas. 2010-03-25 21:19:26 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Improve target type compatibility checking in _percent_run(). 2010-01-15 16:35:26 +00:00
snapshot_manip.c Refactor snapshot-merge deptree and device removal to support info-by-uuid 2010-02-17 22:59:46 +00:00