1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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
..
activate cleanup: typos in comments 2024-08-30 16:51:15 +02:00
cache cleanup: typos in comments 2024-08-30 16:51:15 +02:00
cache_segtype metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
commands cleanup: fix typos 2024-09-27 13:42:45 +02:00
config config: use dm_config_parse_only_section 2024-10-22 19:36:00 +02:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device dev-cache: enhance usability of dm cache 2024-10-23 14:10:35 +02:00
display cleanup: typos in comments 2024-08-30 16:51:15 +02:00
error error: try with modprobe 2024-05-27 15:16:26 +02:00
filters cleanup: typos in comments 2024-08-30 16:51:15 +02:00
format_text debug: use just LV name for debug message 2024-10-22 19:36:00 +02:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
label cleanup: typos in comments 2024-08-30 16:51:15 +02:00
locking dev-cache: enhance usability of dm cache 2024-10-23 14:10:35 +02:00
log reporting: prepare id string only for json output 2024-10-22 19:36:00 +02:00
lvmpolld cleanup: typos in logging 2024-08-30 16:51:15 +02:00
metadata check_lv_segment: correct last change 2024-10-22 22:25:54 +02:00
mirror import: check fixup mirror only when needed 2024-10-22 19:36:00 +02:00
misc crc: add newer zlib code 2024-10-22 19:36:00 +02:00
mm memlock: use value of 0 to disable memory locking 2024-09-27 13:42:45 +02:00
notify cleanup: fix typos 2024-09-27 13:42:45 +02:00
properties cleanup: typos in comments 2024-08-30 16:51:15 +02:00
raid metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
report reporting: prepare id string only for json output 2024-10-22 19:36:00 +02:00
snapshot metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
striped metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
thin metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
unknown metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
uuid cleanup: use _ for static var 2024-06-03 15:30:05 +02:00
vdo vdo: depcreate unused settings 2024-09-26 16:25:12 +02:00
writecache metadata: use lv_hash in segment-specific metadata parsing 2024-09-10 11:51:15 -05:00
zero const: _ops segtype handler 2024-05-04 01:01:57 +02:00
Makefile.in devices: factor common list functions 2022-11-07 11:38:46 -06:00