1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/format_text
Zdenek Kabelac 21517c2bd5 metadata: use radix tree to find lv_names
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.
2024-10-24 17:38:09 +02:00
..
archive.c cleanup: unlink passes with ENOENT 2024-05-01 10:55:17 +02:00
archiver.c vgcfgrestore: validate complete VG 2024-10-23 20:16:14 +02:00
archiver.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
export.c export: typo with buffer zeroing 2024-10-23 20:15:48 +02:00
flags.c flags: drop no longer needed header 2024-10-24 17:35:33 +02:00
format-text.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
format-text.h vgck: fix updatemetadata writing different descriptions 2019-10-11 12:57:32 -05:00
import_vsn1.c metadata: use radix tree to find lv_names 2024-10-24 17:38:09 +02:00
import-export.h read_lvflags: keep flag reading focused on flags 2024-10-23 20:16:14 +02:00
import.c config: use dm_config_parse_only_section 2024-10-22 19:36:00 +02:00
layout.h cleanup: typos in comments 2024-08-30 16:51:15 +02:00
text_export.h cleanup: easier print of historical lv 2021-03-10 01:11:52 +01:00
text_import.h metadata: use radix tree to find lv_names 2024-10-24 17:38:09 +02:00
text_label.c cleanup: some missed public symbols static 2024-05-13 12:58:19 +02:00