summaryrefslogtreecommitdiffstats
path: root/lib/metadata/pv_alloc.h
Commit message (Collapse)AuthorAgeFilesLines
* discards: split discard from release_pv_segmentAlasdair G Kergon2012-06-271-0/+1
| | | | Separate discard_pv_segment out of release_pv_segment
* Fix all segments memory is allocated from vg private mempool.Milan Broz2010-03-311-1/+2
| | | | | | | | | | | | | | | | | | 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).
* Do not traverse PV segment list twice.Milan Broz2010-03-311-1/+2
| | | | | | | | | | | | In addition to previous patch, we really do not need to search for segment which was just allocated in split request. Make pv_split_segment function return newly allocated (split) segment also. (So after this patch, there is only one user of slow find_peg_by_pe).
* Right, a simple build (without options) is working again.Alasdair Kergon2008-11-031-1/+1
|
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-201-2/+2
|
* Use hash, bitset, malloc, pool from libdevmapper.Alasdair Kergon2005-10-161-3/+2
|
* Basic support for mirrors.Alasdair Kergon2005-06-011-1/+1
|
* Remove lists of free PV segments.Alasdair Kergon2005-05-111-2/+1
| | | | Simplify pv_maps code and remove slow bitset algorithm.
* Reinstate full PV size when removing from VG.Alasdair Kergon2005-05-031-0/+8
| | | | | Support loopfiles for testing. Complete the pv_segment support.
* initial pv_segment defnsAlasdair Kergon2005-04-191-0/+22