1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Zdenek Kabelac 5bc66532c7 activation: use revert_lv on tree suspend failure
When thetable reload fails during suspend() - we were only calling
plain resume() - and this will reload only those devices,
which were left suspend, but will not try to restore
metadata state according to lvm2 reverted metadata.
So if we were reloading device tree - we have restored
only top-level LV and rest of reverted device manipulation
were left alone and possibly mismatched what is in committed
metadata.

FIXME: There are several cases were such revert will likely not work
properly anyway as some operation are currenly handled in single commit,
while they need multiple commits, but it's step towards better correctness.
At least we catch there errors now earlier.
2020-09-22 21:02:14 +02:00
..
activate activation: use revert_lv on tree suspend failure 2020-09-22 21:02:14 +02:00
cache metadata: open rw fd before closing ro fd 2020-09-18 15:10:11 -05:00
cache_segtype cachevol: move flag setting after taking archive 2019-10-17 13:03:50 +02:00
commands hints: free hint structs on exit 2020-05-13 17:20:16 -05:00
config config: drop reading file with mmap 2020-08-28 21:43:02 +02:00
datastruct build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
device bache: fix error return value 2020-09-19 23:00:50 +02:00
display Revert "lvdisplay: dispaly correct status when underlying devs missing" 2020-08-28 13:28:15 -05:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters devs: rename dev_is_md dev_is_md_component 2019-05-21 11:44:39 -05:00
format_text gcc: zero-sized array to fexlible array C99 2020-09-01 17:57:50 +02:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00
label metadata: open rw fd before closing ro fd 2020-09-18 15:10:11 -05:00
locking locking: restore blocking signal for VG_GLOBAL lck 2020-09-14 00:15:14 +02:00
log logging: remove unused code 2019-02-28 10:30:54 -06:00
lvmpolld device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
metadata activation: use revert_lv on tree suspend failure 2020-09-22 21:02:14 +02:00
mirror pvmove: remove some cmirror related code 2019-10-11 11:31:42 -05:00
misc Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00
mm gcc: use apropriate type for reading and printing values 2020-08-28 21:43:03 +02:00
notify build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid Revert "lvdisplay: dispaly correct status when underlying devs missing" 2020-08-28 13:28:15 -05:00
report integrity: fix segfault reporting integrity for other lvs 2020-09-09 10:22:07 -05:00
snapshot Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin Merge branch '2018-06-04-data-structs' 2018-06-08 14:21:07 +01:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
vdo vdo: remember configure VDO write policy in metadata 2019-10-04 17:31:55 +02:00
writecache writecache: add settings cleaner and max_age 2020-06-10 12:15:50 -05:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00