1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/device_mapper
Zdenek Kabelac 3bd9f936da thin: delayed resume for LV conversion
When we have some existing LV and this LV is being converted to
external origin - during the DM table manipulation there is a short
moment when the LV is being 'resumed' as 'read-only' volume
while still being live as 'rw' volume i.e. we could have had
a single thin LV active twice.

To avoid such weird scenarios of dual access to a same volume, we
just postpone a resume until a moment, where the existing volume
is already suspended thus no I/O can be in flight to such device.

Note: however there is slight catch - that we now have basically
a different 'risk' case where a resume of such i.e. new external
origin LV might fail and we are already in suspend tree state -
resolving error path in this situation is untrivial as well...
2024-03-17 13:17:53 +01:00
..
datastruct gcc: match types 2021-09-22 17:18:50 +02:00
ioctl device_mapper: pair with libdm _create_and_load_v4 2023-10-13 14:24:49 +02:00
misc devicemapper: in sync with libdm 2021-09-23 16:49:58 +02:00
mm gcc: use apropriate type for reading and printing values 2020-08-28 21:43:03 +02:00
regex build: get separate builddir working again 2018-06-04 13:22:14 +01:00
vdo vdo: support version 4 2023-07-10 17:13:32 +02:00
all.h libdm: report: support reporting field IDs in headings 2023-08-28 15:44:57 +02:00
libdm-common.c cleanup: use spelling synchronize 2023-07-10 17:13:32 +02:00
libdm-common.h device_mapper: rename libdevmapper.h -> all.h 2018-06-08 12:31:45 +01:00
libdm-config.c libdm-config: replace check for 0 2021-03-08 15:43:27 +01:00
libdm-deptree.c thin: delayed resume for LV conversion 2024-03-17 13:17:53 +01:00
libdm-file.c cov: hide some false positives 2023-05-10 16:19:46 +02:00
libdm-report.c libdm: report: fix invalid JSON if using DM_REPORT_OUTPUT_MULTIPLE_TIMES and selection 2023-10-23 14:18:21 +02:00
libdm-string.c typos: misc 2023-09-19 14:54:51 +02:00
libdm-targets.c device_mapper: raid status handle all a chars 2023-10-31 18:52:05 +01:00
libdm-timestamp.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile device_mapper: add parser for vdo metadata 2022-11-02 13:59:34 +01:00