mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
21517c2bd5
Replace usage of dm_hash with radix_tree to quickly find LV name with a vg and also index PV names with set of available PVs. This PV index is only needed during the import, but instead of passing 'radix_tree *' everywhere, just keep this within a VG struct as well and once the parsing is finished, release this PV index radix_tree. This also makes it easier to replace this structure in the future if needed. lv_set_name now uses radix_tree remove+insert to keep lv_names tree in-sync and usable for find_lv queries. |
||
---|---|---|
.. | ||
cache.c |