1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/device_mapper
Zdenek Kabelac 836dc9876b 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-11-12 15:30:40 +01: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-11-05 17:25:11 +01:00
misc cleanup: move cast to det_t into MKDEV macro 2018-11-05 17:25:11 +01: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 Add dm-writecache support 2018-11-06 14:18:41 -06:00
libdm-common.c cleanup: move cast to det_t into MKDEV macro 2018-11-05 17:25:11 +01: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-11-12 15:30:40 +01:00
libdm-file.c cov: mark warning as expected one 2018-11-03 16:10:32 +01: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 Add dm-writecache support 2018-11-06 14:18:41 -06: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