summaryrefslogtreecommitdiffstats
path: root/lib/metadata/pv_map.h
Commit message (Collapse)AuthorAgeFilesLines
* Track unreserved space for all alloc policies and then permit NORMAL to placeAlasdair Kergon2012-02-011-2/+2
| | | | log and data on same single PV.
* Remove superfluous fn prototypes.Alasdair Kergon2010-07-091-1/+0
|
* Allow ALLOC_ANYWHERE to split contiguous areas.Alasdair Kergon2010-03-251-0/+4
|
* improve a few comments in last check-inAlasdair Kergon2010-03-251-1/+3
|
* Introduce pv_area_used into allocation algorithm and add debug messages.Alasdair Kergon2010-03-251-0/+13
| | | | | | | This is the next preparatory step towards better --alloc anywhere support and is not intended to break anything that currently works so please report any problems - segfaults, bogus data in the new debug messages, or if the code now chooses bizarre allocation layouts.
* Right, a simple build (without options) is working again.Alasdair Kergon2008-11-031-6/+6
|
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-201-3/+3
|
* Perform high-level free space check before each allocation attempt.Alasdair Kergon2006-10-231-0/+3
|
* Use hash, bitset, malloc, pool from libdevmapper.Alasdair Kergon2005-10-161-3/+1
|
* Remove lists of free PV segments.Alasdair Kergon2005-05-111-6/+8
| | | | Simplify pv_maps code and remove slow bitset algorithm.
* Update copyright notices.Alasdair Kergon2004-03-301-2/+11
|
* o Metadata area struct change.Alasdair Kergon2003-04-241-1/+1
| | | | | o Support physical extent restrictions on PV lists for allocations e.g. lvcreate -l 200 vg1 /dev/sda1:100-199:300-399
* o Striped allocatorJoe Thornber2001-11-291-0/+3
| | | | | | | | | | o Changed pv_map.c to maintain the list of free areas in size order, which is more helpful to the allocators. If you want to allocate a bit of an area call consume_area(area, size), this will adjust the area if there's some space left and shuffle it to the correct place in the list. Not tested.
* o lv_reduceJoe Thornber2001-11-061-1/+2
| | | | o pv_maps wasn't taking a list of acceptable pvs
* o code for building free area lists on a pv. Compiles but not run.Joe Thornber2001-11-051-0/+39