• Heinz Mauelshagen's avatar
    dm raid: fix table line argument order in status · 4464e36e
    Heinz Mauelshagen authored
    Commit 3a1c1ef2 ("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: 3a1c1ef2 ("dm raid: enhance status interface and fixup takeover/raid0")
    Signed-off-by: default avatarHeinz Mauelshagen <heinzm@redhat.com>
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    4464e36e
dm-raid.c 109 KB