1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-05 13:18:20 +03:00
lvm2/daemons/dmeventd
Heinz Mauelshagen 9e438b4bc6 dmeventd: avoid bail out preventing repair in raid plugin
Problem:
even though dead raid component devices are detected, the
raid plugin is bailing out thus preventing a repair attempt.

Rational:
in case of component device errors, the MD resynchronization
thread runs in parallel with the thrown event being processed
by the raid plugin.  The plugin retrieves the raid device status
but that still reflects insync regions as 0 (when it should
already be total regions) because the MD thread didn't update it yet.

Solution:
Remove the insync regions check and let lvconvert carry out its
pre-repair checks and optionally carry out a repair attempt.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1560739
Related:  https://bugzilla.redhat.com/show_bug.cgi?id=1468590
Related:  https://bugzilla.redhat.com/show_bug.cgi?id=1654860
Related:  https://bugzilla.redhat.com/show_bug.cgi?id=1729303
Related:  https://bugzilla.redhat.com/show_bug.cgi?id=1741016
2019-08-16 18:08:22 +02:00
..
plugins dmeventd: avoid bail out preventing repair in raid plugin 2019-08-16 18:08:22 +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 dmeventd: add check for result code 2018-01-17 14:44:33 +01:00
dmeventd.h doc: change fsf address 2016-01-21 12:11:37 +01:00
libdevmapper-event.c dmeventd: base vdo plugin 2018-07-31 14:53:27 +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 makefiles: fixing linking 2017-08-01 11:53:30 +02:00