1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00
lvm2/daemons/dmeventd
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
..
plugins dmeventd: avoid bail out preventing repair in raid plugin but keep message 2019-09-20 17:53:20 +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 configure: avoid repeative inclusion of configure.h 2018-12-21 19:19:50 +01:00
dmeventd.h doc: change fsf address 2016-01-21 12:11:37 +01:00
libdevmapper-event.c configure: avoid repeative inclusion of configure.h 2018-12-21 19:19:50 +01:00
libdevmapper-event.h dmeventd: fix linking with libdevmapper 2018-12-14 22:33:22 +01:00
libdevmapper-event.pc.in device-mapper: Fork libdm internally. 2018-05-16 13:00:50 +01:00
Makefile.in dmeventd: fix linking with libdevmapper 2018-12-14 22:33:22 +01:00