1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-06 17:18:29 +03:00
lvm2/daemons/dmeventd/plugins
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
..
lvm2 cov: unlock lvm2 mutex on error path 2019-06-25 17:31:39 +02:00
mirror dmeventd: adjust mirror/raid DSOs to new repair design 2017-03-16 21:05:05 +01:00
raid dmeventd: avoid bail out preventing repair in raid plugin 2019-08-16 18:08:22 +02:00
snapshot libdm: use rounded float for percent print 2017-06-24 17:44:42 +02:00
thin thin: pass environment to scripts 2018-03-06 15:35:04 +01:00
vdo dmeventd: rebase to stable branch 2018-07-31 14:55:03 +02:00
Makefile.in dmeventd: base vdo plugin 2018-07-31 14:53:27 +02:00