1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-02 13:47:42 +03:00
Zdenek Kabelac a985d5c63d dev_manager: fix table for cache with cachevol
When using cached LV with cachevols (so not with cachepool),
the loaded table could have been using more then one mapping line
for sub devices - resulting into data corruption in some cases
when i.e. taking snapshot of such cached LV with and instead of
single line - 2 lines were generated into DM table as the code
skipped protection again repeated addition.

vg-fast_cvol-cdata: 0 16384 linear 253:2 16384
vg-fast_cvol-cdata: 16384 16384 linear 253:2 16384

New code is also refactoring to use _add_new_cvol_subdev_to_dtree
(similar _add_cvol_subdev.. ) and also the addition of subdev has
been moved after check for already processed node.
Also the cachevol sub devices are now added with the insertion
of cachevol with cached LV.
2024-03-21 22:35:47 +01:00
..
2023-07-13 21:31:18 +02:00
2018-06-08 13:40:53 +01:00
2023-10-18 02:19:15 +02:00
2018-06-08 13:40:53 +01:00
2024-02-19 14:20:39 +01:00
2023-09-26 01:23:00 +02:00
2024-02-19 14:20:39 +01:00
2023-07-15 11:05:06 +02:00
2023-09-03 22:03:33 +02:00
2021-03-19 23:21:18 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2022-08-30 13:54:19 +02:00
2018-06-08 13:40:53 +01:00
2022-02-07 20:02:11 +01:00
2023-06-29 13:10:42 +02:00
2018-06-08 13:40:53 +01:00