1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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
..
activate dev_manager: fix table for cache with cachevol 2024-03-21 22:35:47 +01:00
cache pvs, pvscan: new option -A to show PVs outside the devices file 2023-11-16 08:45:46 -06:00
cache_segtype cache: check module in modules builtin 2024-02-19 14:20:39 +01:00
commands devices file: back up each version 2024-02-15 11:40:37 -06:00
config lvm.conf: update scan_lvs description 2024-02-21 11:08:02 -06:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device devices: refactor recursive dir create 2024-02-19 14:20:39 +01:00
display gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters filters: fix condition 2023-10-18 02:19:15 +02:00
format_text archiving: Fix doubled filename in vgcfgrestore 2024-01-24 14:11:19 +01:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity cleanup: no backtraces needed after log_error 2021-03-10 01:11:52 +01:00
label label: simplify code 2024-02-19 14:20:39 +01:00
locking lvmlockd: let lockd_init_lv_args set lock_args 2023-08-16 15:29:20 -05:00
log debug: correcting check for error 2023-09-26 01:23:00 +02:00
lvmpolld device usage based on devices file 2021-02-23 16:43:32 -06:00
metadata thin: remove stack external origins 2024-03-17 13:17:53 +01:00
mirror lv_info: missing check for info.exists 2021-03-14 16:34:38 +01:00
misc cleanup: remove unused code 2024-02-19 14:20:39 +01:00
mm mm: add libzstd to ignore list 2023-07-15 11:05:06 +02:00
notify debug: check for syscalls 2023-09-03 22:03:33 +02:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid cleanup: reduce code dupliction 2021-03-19 23:21:18 +01:00
report devices: refresh device ids if the system changes 2023-09-27 15:22:11 -05:00
snapshot typo: fixes 2021-02-08 23:53:41 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin thin: rename internal function 2022-08-30 13:54:19 +02:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid asan: fix some reports from libasan 2022-02-07 20:02:11 +01:00
vdo vdo: indent for lvdisplay 2023-06-29 13:10:42 +02:00
writecache writecache: support settings metadata_only and pause_writeback 2022-12-08 16:53:36 -06:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in devices: factor common list functions 2022-11-07 11:38:46 -06:00