1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/locking
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
..
.exported_symbols Pre-release cleanups. 2009-05-21 03:04:52 +00:00
file_locking.c refactor: update dm_strncpy to _dm_strncpy 2024-04-04 19:38:21 +02:00
locking_types.h Implement lock-override options without locking type 2018-06-07 16:17:04 +01:00
locking.c dev-cache: enhance usability of dm cache 2024-10-23 14:10:35 +02:00
locking.h backup: automatically store data on vg_unlock 2021-06-09 14:56:13 +02:00
lvmlockd.c metadata: look for LV by name with find_lv 2024-10-22 19:36:00 +02:00
lvmlockd.h lvmlockd: drop return 1 from void function 2024-10-22 19:15:55 +02:00