]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm raid: fix table line argument order in status
authorHeinz Mauelshagen <heinzm@redhat.com>
Sat, 18 Mar 2017 00:39:12 +0000 (01:39 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 27 Mar 2017 15:45:26 +0000 (11:45 -0400)
commit4464e36e06470e3d68dc26a874f0dbdffa09a6e8
tree87f6c3f8d3167467ea2e9cefdd977ee4381ae1d7
parent78e470c26f524f4706c2555613b9641d85190cbe
dm raid: fix table line argument order in status

Commit 3a1c1ef2f ("dm raid: enhance status interface and fixup
takeover/raid0") added new table line arguments and introduced an
ordering flaw.  The sequence of the raid10_copies and raid10_format
raid parameters got reversed which causes lvm2 userspace to fail by
falsely assuming a changed table line.

Sequence those 2 parameters as before so that old lvm2 can function
properly with new kernels by adjusting the table line output as
documented in Documentation/device-mapper/dm-raid.txt.

Also, add missing version 1.10.1 highlight to the documention.

Fixes: 3a1c1ef2f ("dm raid: enhance status interface and fixup takeover/raid0")
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Documentation/device-mapper/dm-raid.txt
drivers/md/dm-raid.c