1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/activate
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.c activation: use revert_lv on tree suspend failure 2020-09-22 21:02:14 +02:00
activate.h Allow dm-integrity to be used for raid images 2020-04-15 12:10:32 -05:00
dev_manager.c Revert "raid: add _rimage and _rmeta as origin_only" 2020-09-09 00:58:52 +02:00
dev_manager.h mirror: fix leg splitting 2019-10-31 15:31:30 +01:00
fs.c gcc: change zero-sized array to fexlible array 2020-09-01 17:57:50 +02:00
fs.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
targets.h doc: change fsf address 2016-01-21 12:11:37 +01:00