1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons
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
..
clvmd gcc: cleanup Wunused-const-variable 2016-02-23 14:41:24 +01:00
cmirrord cleanup: clean gcc6 minor/major types warnings 2016-09-07 16:42:34 +02:00
dmeventd lvconvert: fix (automatic) raid repair regression 2016-09-21 00:39:29 +02:00
lvmdbusd lvmdbusd: Assign percentage on set 2016-09-19 15:32:47 -05:00
lvmetad lvmetad: free memory on exit 2016-07-18 11:31:00 -05:00
lvmlockd lvmlockd: improve error message about missing global lock 2016-07-25 14:49:01 -05:00
lvmpolld cleanup: drop unused assignments 2016-07-01 00:44:48 +02:00
Makefile.in lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00