1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/dmeventd/plugins
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
..
lvm2 doc: change fsf address 2016-01-21 12:11:37 +01:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
raid lvconvert: fix (automatic) raid repair regression 2016-09-21 00:39:29 +02:00
snapshot cleanup: clean gcc6 minor/major types warnings 2016-09-07 16:42:34 +02:00
thin dmeventd: typo and debug name fix 2016-08-31 11:13:59 +02:00
Makefile.in doc: change fsf address 2016-01-21 12:11:37 +01:00