1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 3d04380691 Use created hash tables for quick check of LV, PV.
Instead of searching linear list of all LVs, PVs - use created hash tables
also for quick mapping between LV.

(Note - for small number of PVs or LVs the overhead of the hash is bigger).

TODO: Use hash tables in volume_group structure directly.
2011-03-30 13:35:51 +00:00
..
activate Fix -Wold-style-definition gcc warnings 2011-03-29 20:30:05 +00:00
cache Keep the cache content when the exported vg buffer is matching 2011-03-30 13:14:34 +00:00
commands Replace PV_MIN_SIZE with function pv_min_size() 2011-02-18 14:11:22 +00:00
config Optimise _eat_space and _get_token 2011-03-10 14:51:35 +00:00
datastruct Some const cleanups 2010-12-20 13:19:13 +00:00
device Remove double braces 2011-03-29 20:19:03 +00:00
display Fix some compile warnings on RHEL5 2011-03-01 20:17:56 +00:00
error Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
filters Const fixing 2011-02-18 14:47:28 +00:00
format1 Fix reading of unitialized memory 2011-03-30 12:30:39 +00:00
format_pool Use format instance mempool where possible and adequate. 2011-03-11 15:10:16 +00:00
format_text s/MIRROR_NOTSYNCED/LV_NOTSYNCED/ - Flag will may refer to more than just mirrors 2011-03-29 12:51:57 +00:00
freeseg Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
label Add dm_zalloc and use it and dm_pool_zalloc throughout. 2010-09-30 21:06:50 +00:00
locking Fix sending uninitilised bytes in cluster messages 2011-03-29 21:05:39 +00:00
log Optimise error message write to _lvm_errmsg 2011-03-30 12:53:04 +00:00
metadata Use created hash tables for quick check of LV, PV. 2011-03-30 13:35:51 +00:00
mirror Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
misc Fix -Wold-style-definition gcc warnings 2011-03-29 20:30:05 +00:00
mm Few more files filtered from memory locking 2011-03-30 13:06:13 +00:00
replicator Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
report Fix reading of released memory 2011-03-05 12:14:00 +00:00
snapshot Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
striped Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
unknown Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
uuid Const fixing 2011-02-18 14:47:28 +00:00
zero Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
Makefile.in Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00