1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/activate
Zdenek Kabelac 7833c45fbe activation: extend handling of pending_delete
With previous patch 30a98e4d67 we
started to put devices one pending_delete list instead
of directly scheduling their removal.

However we have operations like 'snapshot merge' where we are
resuming device tree in 2 subsequent activation calls - so
1st such call will still have suspened devices and no chance
to push 'remove' ioctl.

Since we curently cannot easily solve this by doing just single
activation call (which would be preferred solution) - we introduce
a preservation of pending_delete via command structure and
then restore it on next activation call.

This way we keep to remove devices later - although it might be
not the best moment - this may need futher tunning.

Also we don't keep the list of operation in 1 trasaction
(unless we do verify udev symlinks) - this could probably
also make it more correct in terms of which 'remove' can
be combined we already running 'resume'.
2019-08-26 15:16:38 +02:00
..
activate.c dev_manager: add dev_manager_remove_dm_major_minor 2019-03-20 14:37:10 +01:00
activate.h vdo: add simple wrapper for getting pool percentage 2019-01-21 12:53:16 +01:00
dev_manager.c activation: extend handling of pending_delete 2019-08-26 15:16:38 +02:00
dev_manager.h dev_manager: add dev_manager_remove_dm_major_minor 2019-03-20 14:37:10 +01:00
fs.c activation: synchronize before removing devices 2019-03-20 14:39:09 +01: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