1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons/dmeventd
Heinz Mauelshagen 5d455b28fc lvconvert: fix (automatic) raid repair regression
The dm-raid target now rejects device rebuild requests during ongoing
resynchronization thus causing 'lvconvert --repair ...' to fail with
a kernel error message. This regresses with respect to failing automatic
repair via the dmeventd RAID plugin in case raid_fault_policy="allocate"
is configured in lvm.conf as well.

Previously allowing such repair request required cancelling the
resynchronization of any still accessible DataLVs, hence reasoning
potential data loss.

Patch allows the resynchronization of still accessible DataLVs to
finish up by rejecting any 'lvconvert --repair ...'.

It enhances the dmeventd RAID plugin to be able to automatically repair
by postponing the repair after synchronization ended.

More tests are added to lvconvert-rebuild-raid.sh to cover single
and multiple DataLV failure cases for the different RAID levels.

- resolves: rhbz1371717
2016-09-21 00:39:29 +02:00
..
plugins lvconvert: fix (automatic) raid repair regression 2016-09-21 00:39:29 +02:00
.exported_symbols Add rudimentary versioning to the dmevend protocol, allowing us to detect the 2011-04-04 16:11:09 +00:00
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
dmeventd.c doc: change fsf address 2016-01-21 12:11:37 +01:00
dmeventd.h doc: change fsf address 2016-01-21 12:11:37 +01:00
libdevmapper-event.c cleanup: avoid gcc warns 2016-04-08 20:20:16 +02:00
libdevmapper-event.h cleanup: avoid gcc warns 2016-04-08 20:20:16 +02:00
libdevmapper-event.pc.in Use Require.private: field for devmapper-event.pc 2010-05-11 08:47:02 +00:00
Makefile.in doc: change fsf address 2016-01-21 12:11:37 +01:00