1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons
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
..
cmirrord cleanup: use zalloc 2018-12-22 23:55:48 +01:00
dmeventd dmeventd: avoid bail out preventing repair in raid plugin 2019-08-16 18:07:03 +02:00
lvmdbusd lvmdbusd: Use UUID instead of name for VG rename 2019-01-16 16:29:05 -06:00
lvmlockd lvmlockd: fix snprintf warnings 2019-05-02 12:59:55 -05:00
lvmpolld libdaemon: use pselect to avoid condition checking race 2019-04-16 12:18:34 +02:00
Makefile.in build: Remove lvmetad leftovers 2018-07-24 15:02:32 +02:00