1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/device_mapper
Zdenek Kabelac bac5d782ca devicemapper: retry mirror leg deactivation
This could be seen as continuation of
6cee8f1b06.
Some test maching with old udev system shows problem,
where udev 'jumps on' leg device after mirror target
releases its legs -  since udev does not (in this old case) skips
such device from scanning - it opens device - and this prevent
leg device to be deactivated - effectively such device stays
'leaked' in DM table invisibly to lvm2 command.

So to 'combat' this issue - if the device has '_mimage' in its name,
the retry of deactivation is automatically assumed.

NOTE: wider impact is unexpected - as it's touching only old mirror
target which is nowadays replaced with 'raid'.

In case there will be some problem identified - probably both patches
should be reverted.
2018-12-04 14:33:36 -06:00
..
datastruct device_mapper: move hash.[hc] to base/data-struct 2018-06-08 13:54:19 +01:00
ioctl cleanup: move cast to det_t into MKDEV macro 2018-12-04 14:33:36 -06:00
misc cleanup: move cast to det_t into MKDEV macro 2018-12-04 14:33:36 -06:00
mm device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
regex build: get separate builddir working again 2018-06-04 13:22:14 +01:00
vdo cov: ignore error of vsnprintf 2018-10-15 17:49:44 +02:00
all.h device_mapper: basic support for vdo dm target 2018-07-09 15:28:35 +02:00
libdm-common.c cleanup: move cast to det_t into MKDEV macro 2018-12-04 14:33:36 -06:00
libdm-common.h device_mapper: rename libdevmapper.h -> all.h 2018-06-08 12:31:45 +01:00
libdm-config.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
libdm-deptree.c devicemapper: retry mirror leg deactivation 2018-12-04 14:33:36 -06:00
libdm-file.c cov: mark warning as expected one 2018-12-04 14:33:36 -06:00
libdm-report.c cov: ensure vars are set 2018-10-15 17:49:44 +02:00
libdm-string.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
libdm-targets.c device-mapper: Fork libdm internally. 2018-05-16 13:00:50 +01:00
libdm-timestamp.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile device_mapper: basic support for vdo dm target 2018-07-09 15:28:35 +02:00