1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons
Heinz Mauelshagen 6f355c6736 dmeventd: avoid bail out preventing repair in raid plugin but keep message
Followup patch mentioned in previous commit fe577f84cbf6bd7be76b457c9d54d0e54e57f93d.

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 but keep the informal message
  "waiting for resynchronization"  and let lvconvert carry out its
  pre-repair checks and optionally carry out a repair attempt.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1751887
Related: 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-09-20 17:53:20 +02:00
..
cmirrord cleanup: use zalloc 2018-12-22 23:55:48 +01:00
dmeventd dmeventd: avoid bail out preventing repair in raid plugin but keep message 2019-09-20 17:53:20 +02:00
lvmdbusd Fix converting dbus.UInt types to string 2019-08-27 09:43:43 -05:00
lvmlockd Revert "lvmlockd: use commonly used define NOTIFYDBUS_SUPPORT" 2019-09-16 11:44:42 -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