dm raid: fix table line argument order in status
Subsystems (2)
PATCH 1/2 dm raid: fix table line argument order in status
From: Heinz Mauelshagen <[email protected]>
Upstream commit 3a1c1ef2fd62087c3d6521de217ddb9360776658 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 falsely assuming a changed table line.
Sequence those 2 parameters as before so that old lvm2 uspace can function properly with new kernels and adjust the table line output to the defined one as of Documentation/device-mapper/dm-raid.txt.
Signed-off-by Heinz Mauelshagen <[email protected]>
--- Documentation/device-mapper/dm-raid.txt | 2 ++ drivers/md/dm-raid.c | 62 +++++++++++++++++---------------- 2 files changed, 34 insertions(+), 30 deletions(-)
Documentation/device-mapper/dm-raid.txt +2 -0
@@ -331,3 +331,5 @@ Version History 'D' on the status line. If '- -' is passed into the constructor, emit '- -' on the table line and '-' as the status line health character. 1.10.0 Add support for raid4/5/6 journal device +1.11.0 Fix table line argument order + (wrong raid10_copies/raid10_format sequence)
drivers/md/dm-raid.c +32 -30
89 lines not on this page · raw message
Signature · 1 line
2.9.3