mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
8e1d5615b4
Since now, all code reading volume group is responsible for releasing the memory allocated by calling vg_release(vg). (For simplicity of use, vg_releae can be called for vg == NULL, the same logic like free(NULL)). Also providing simple macro for unlocking & releasing in one step, tools usualy uses this approach. The global memory pool (cmd->mem) should be used only for global physical volume operations. This patch have to be applied with all subsequent patches to complete memory pool per vg logic. Using separate memory pool has quite bit memory saving impact when using large VGs, this is mainly needed when we have to use preallocated and locked memory (and should not overflow from that memory space). |
||
---|---|---|
.. | ||
.exported_symbols | ||
disk_rep.c | ||
disk_rep.h | ||
format_pool.c | ||
format_pool.h | ||
import_export.c | ||
Makefile.in | ||
pool_label.c | ||
pool_label.h | ||
sptype_names.h |