From: Heinz Mauelshagen <heinzm@xxxxxxxxxx> Adding stripes to an existing RAID mapped device fails to set the grown capacity properly. The 2 patches move a needed function and add fix the sizing logic. See patch 2 header for issue details. Heinz Mauelshagen (2): dm raid: move _get_reshape_sectors() as prerequisite to fixing reshape size issues dm raid: fix stripes adding reshape size issues drivers/md/dm-raid.c | 54 ++++++++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 20 deletions(-) -- 2.45.2