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 ad560a286a 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:07:03 +02:00
..
lvm2 dmeventd: unlock lvm2 lock on error path 2018-12-21 21:43:36 +01:00
mirror dmeventd: do not link internal libraries to plugins 2018-12-17 10:36:52 +01:00
raid dmeventd: avoid bail out preventing repair in raid plugin 2019-08-16 18:07:03 +02:00
snapshot dmeventd: do not link internal libraries to plugins 2018-12-17 10:36:52 +01:00
thin dmeventd: do not link internal libraries to plugins 2018-12-17 10:36:52 +01:00
vdo vdo: enable dmeventd resize 2019-01-21 12:53:16 +01:00
Makefile.in dmeventd: base vdo plugin 2018-07-09 15:28:32 +02:00