1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Heinz Mauelshagen 5d455b28fc lvconvert: fix (automatic) raid repair regression
The dm-raid target now rejects device rebuild requests during ongoing
resynchronization thus causing 'lvconvert --repair ...' to fail with
a kernel error message. This regresses with respect to failing automatic
repair via the dmeventd RAID plugin in case raid_fault_policy="allocate"
is configured in lvm.conf as well.

Previously allowing such repair request required cancelling the
resynchronization of any still accessible DataLVs, hence reasoning
potential data loss.

Patch allows the resynchronization of still accessible DataLVs to
finish up by rejecting any 'lvconvert --repair ...'.

It enhances the dmeventd RAID plugin to be able to automatically repair
by postponing the repair after synchronization ended.

More tests are added to lvconvert-rebuild-raid.sh to cover single
and multiple DataLV failure cases for the different RAID levels.

- resolves: rhbz1371717
2016-09-21 00:39:29 +02:00
..
activate snapshots: Fix monitoring to use cow not internal LV. 2016-09-20 02:30:58 +01:00
cache lvmlockd: fix metadata validation when rescanning VG 2016-09-14 10:43:33 -05:00
cache_segtype lvchange: allow change of cache mode 2016-05-19 18:40:14 +02:00
commands config: add support for CFG_DISALLOW_INTERACTIVE flag to mark settings as not suitable for override in interactive mode 2016-08-09 18:49:11 +02:00
config cache: introduce cache_pool_max_chunks 2016-08-29 20:47:31 +02:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device dev-type: check for DEVLINKS udev db variable existence if udev_device_get_is_initialized fn is not present 2016-09-06 13:21:29 +02:00
display cleanup: warns from older gcc 2016-07-01 00:44:48 +02:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters cleanup: clean gcc6 minor/major types warnings 2016-08-29 20:51:16 +02:00
format1 redefine pvcreate structs 2016-02-25 09:14:10 -06:00
format_pool macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
format_text cleanup: drop unused header files 2016-07-04 17:40:24 +02:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
locking lvmlockd: improve error message about missing global lock 2016-07-25 14:49:01 -05:00
log shell: also collect last command's return code for subsequent 'lastlog' invocation 2016-08-09 18:24:45 +02:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata lvconvert: fix (automatic) raid repair regression 2016-09-21 00:39:29 +02:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
misc lib: Move lcm and gcd to lib/misc for wider use. 2016-08-18 14:06:13 +01:00
mm cleanup: compile fixes for --disable-devmapper 2016-06-03 12:46:43 +02:00
notify notify: Fix hang with lvm shell & --enable-notify-dbus 2016-08-12 14:36:43 -05:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid: Don't monitor raid0 or raid0_meta LVs. 2016-08-20 02:14:33 +01:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report lvm2app: fix cache percantage reporting 2016-09-09 15:03:28 +02:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped striped: Add precise macros for original segtype. 2016-08-04 01:24:39 +01:00
thin macros: Use is_power_of_2. 2016-06-30 17:59:44 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid coverity: missing check for id_write_format return value 2016-05-31 09:56:10 +02:00
zero activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
Makefile.in lib: Move lcm and gcd to lib/misc for wider use. 2016-08-18 14:06:13 +01:00