1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/lib/format1
Peter Rajnoha a1bec4e685 Add mem and ref_count fields to struct format_instance for own mempool use.
Format instances can be created anytime on demand and it contains
metadata area information mostly (at least for now, but in the future,
we may store more things here to update/edit in a PV/VG). In case we
have lots of metadata areas, memory consumption will rise. Using cmd
context mempool is not quite optimal here because it is destroyed too
late. So let's use a separate mempool for format instances.

Reference counting is used because fids could be shared, e.g. each PV
has either a PV-based fid or VG-based fid. If it's VG-based, each PV has
a shared fid with the VG - a reference to VG's fid.
2011-03-11 14:38:38 +00:00
..
.exported_symbols .export.sym generation 2004-03-26 14:51:23 +00:00
disk-rep.c Fallback to full rescan for missing device 2010-12-01 10:33:55 +00:00
disk-rep.h Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format1.c Add mem and ref_count fields to struct format_instance for own mempool use. 2011-03-11 14:38:38 +00:00
format1.h split orphan VG by format type 2008-02-06 15:47:28 +00:00
import-export.c Remove unneeded test for NULL 2010-11-30 22:57:35 +00:00
import-extents.c Fix pvmove allocation to take existing parallel stripes into account. 2010-04-08 00:28:57 +00:00
layout.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvm1-label.c Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
lvm1-label.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
Makefile.in Install plugins to subdirs 2010-05-06 10:07:46 +00:00
vg_number.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00