1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/device_mapper/ioctl
Zdenek Kabelac 051a5c3f56 device_mapper: refactor code to lvm library
Move the code around caching active dm device devno, name and uuid
from device_mapper/libdm-iface to dev_cache file - as libdm layer
cares about 'decoding' ioctl data from kernel and caching for use by
lvm stays within lvm.

Introduce:
dev_cache_update_dm_devs
dev_cache_get_dm_dev_by_devno
dev_cache_get_dm_dev_by_uuid

Use radix_tree for searching.
2024-06-19 14:28:54 +02:00
..
libdm-iface.c device_mapper: refactor code to lvm library 2024-06-19 14:28:54 +02:00
libdm-targets.h const: libdm cmd_data_v4 2024-05-04 01:01:57 +02:00