1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/format_text
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
..
archive.c Fix tools to report error when stopped by user. 2009-12-03 19:18:33 +00:00
archiver.c Use vg_is_exported(vg) macro everywhere. 2009-09-14 19:44:15 +00:00
archiver.h Fix remote metadata backup for clvmd 2009-04-22 09:39:45 +00:00
export.c Export function out_text_with_comment() and add outfc() macro that checks 2010-01-07 14:45:28 +00:00
flags.c Rename segment and lv status flag from SNAPSHOT_MERGE to MERGING. 2010-01-13 01:56:18 +00:00
format-text.c Only do one full device scan during each read of text format metadata. 2010-03-16 17:30:00 +00:00
format-text.h Switch status from 32-bit to 64-bit 2009-11-24 22:55:55 +00:00
import_vsn1.c Use hash table for quick lv reference when reading metadata. 2010-03-31 17:20:02 +00:00
import-export.h Suppress repeated errors about the same missing PV uuids. 2010-03-17 02:11:18 +00:00
import.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
layout.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
tags.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
text_export.h Export function out_text_with_comment() and add outfc() macro that checks 2010-01-07 14:45:28 +00:00
text_import.h Update a few more uint64_t's related to the 64-bit status change. 2009-12-04 17:48:32 +00:00
text_label.c #define an INTERNAL_ERROR macro and use it throughout LVM. 2009-12-16 19:22:11 +00:00