1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
Zdenek Kabelac 7156b4930d dev-cache: enhance usability of dm cache
With existing code, the cache was working only to the 2nd. locking.
So i.e. when 'lvs' scans system with more then one VG, the caching
was effectively not working.

Update the code, so the label invalidate code is able to update DM
cache - so whenever we take a new lock - we will refresh the cache.

TODO: the refresh ATM does a very simple compare of old a new list
of cached DM device, and with the first spotted difference, it just
fallback to the full rebuild of DM cache - with large amount of active
devices this might not the most efficient way....
2024-10-23 14:10:35 +02:00
..
bcache-utils.c gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
bcache.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
bcache.h cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev_util.c devices: factor common list functions 2022-11-07 11:38:46 -06:00
dev-cache.c dev-cache: enhance usability of dm cache 2024-10-23 14:10:35 +02:00
dev-cache.h Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
dev-dasd.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev-ext-udev-constants.h cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev-ext.c const: use arrays of strings 2024-05-04 01:01:57 +02:00
dev-io.c devices: isolate fake device setup for config file 2024-07-02 16:18:09 -05:00
dev-luks.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-lvm1-pool.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-md.c cov: annotate known case 2024-08-09 15:10:24 +02:00
dev-mpath.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev-swap.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-type.c debug: drop stack 2024-10-22 19:36:00 +02:00
dev-type.h device: propagate struct cmd_context 2024-05-27 15:35:17 +02:00
device_id.c device_id: fix segfault if devices file has PVID=. 2024-10-15 10:58:16 +02:00
device_id.h gcc: drop const specifier from allocated string 2024-06-03 15:30:05 +02:00
device-types.h devices: recognise rbd (ceph rados block device) 2021-12-13 13:32:06 -06:00
device.h cleanup: replace use of alloced with allocated 2024-09-27 13:42:45 +02:00
filesystem.c filesystem: add note about swap devices 2024-10-02 13:31:54 +02:00
filesystem.h lvresize: fail early if crypt device is missing 2023-01-30 17:12:11 -06:00
online.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
online.h cleanup: some more MAJOR MINOR unsigned 2024-06-03 15:30:05 +02:00
parse_vpd.c gcc: correct signess comparation 2023-07-13 21:31:18 +02:00