1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Heinz Mauelshagen 1e4462dbfb raid: adjust to misordered raid table line output
The libdevmapper interface compares existing table line retrieved from
the kernel to new table line created to decide if it can suppress a reload.
Any difference between input and output of the table line is taken to be a
change thus causing a table reload.

The dm-raid target started to misorder the raid parameters (e.g. 'raid10_copies')
starting with dm-raid target version 1.9.0 up to (excluding) 1.11.0.  This causes
runtime failures (limited to raid10 as of tests) and needs to be reversed to allow
e.g. old lvm2 uspace to run properly.

Check for the aforementioned version range and adjust creation of the table line
to the respective (mis)ordered sequence inside and correct order outside the range
(as described for the raid target in the kernels Documentation/device-mapper/dm-raid.txt).
2017-03-21 18:17:42 +01:00
..
activate dev_manager: remove reshape message 2017-03-03 22:10:21 +01:00
cache lvconvert: disable lvmetad for repair 2017-03-16 11:50:36 -05:00
cache_segtype cache: enhance lvdisplay for cache volumes 2017-03-10 19:33:01 +01:00
commands command struct: remove command name refs 2017-02-13 08:20:10 -06:00
config cache: introduce allocation/cache_metadata_format 2017-03-10 19:33:01 +01:00
datastruct datastruct: Add str_list_wipe. 2016-04-29 19:47:15 +01:00
device devices: Recognise Veritas Dynamic Multipathing 2017-01-10 22:23:23 +00:00
display cache: enhance lvdisplay for cache volumes 2017-03-10 19:33:01 +01:00
error activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
filters cleanup: log_info to log_error 2016-11-03 17:49:07 +01:00
format1 lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
format_pool lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
format_text cache: LV supports cache segs with metadata format 2017-03-10 19:33:01 +01:00
freeseg doc: change fsf address 2016-01-21 12:11:37 +01:00
label log_info to log_very_verbose 2016-11-03 17:49:07 +01:00
locking cleanup: more lv_is_ usage 2016-12-13 22:07:52 +01:00
log cleanup: add 'static' for local struct 2016-11-03 12:43:09 +01:00
lvmpolld doc: change fsf address 2016-01-21 12:11:37 +01:00
metadata raid: adjust to misordered raid table line output 2017-03-21 18:17:42 +01:00
mirror activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
misc coverity: remove unneeded header files 2017-02-11 21:17:27 +01:00
mm cleanup: compile fixes for --disable-devmapper 2016-06-03 12:46:43 +02:00
notify dbus: also recognize error state for missing service that comes from original D-Bus 2016-11-15 10:09:11 +01:00
properties doc: change fsf address 2016-01-21 12:11:37 +01:00
raid raid: adjust to misordered raid table line output 2017-03-21 18:17:42 +01:00
replicator doc: change fsf address 2016-01-21 12:11:37 +01:00
report raid: use 64bit arithmetic 2017-03-16 01:02:10 +01:00
snapshot activate: Use macros for target and module names. 2016-03-22 17:46:15 +00:00
striped striped: implement compatible target name 2016-12-05 17:02:01 +01:00
thin thin: add new ZERO/DISCARDS_UNSELECTED 2017-03-10 19:33:00 +01:00
unknown doc: change fsf address 2016-01-21 12:11:37 +01:00
uuid cleanup :drop unneeded header file 2016-10-03 17:49:56 +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