dm raid: comments
PATCH 9/10 dm raid: comments
From: Heinz Mauelshagen <[email protected]>
--- drivers/md/dm-raid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/md/dm-raid.c +3 -3
@@ -2837,13 +2837,13 @@ static int rs_setup_reshape(struct raid_set *rs)/* * Adjust array size: * -* - in case of adding disks, array size has +* - in case of adding disk(s), array size has * to grow after the disk adding reshape, * which'll hapen in the event handler; * reshape will happen forward, so space has to * be available at the beginning of each disk * -* - in case of removing disks, array size +* - in case of removing disk(s), array size * has to shrink before starting the reshape, * which'll happen here; * reshape will happen backward, so space has to
@@ -2874,7 +2874,7 @@ static int rs_setup_reshape(struct raid_set *rs) rdev->recovery_offset =rs_is_raid1 (rs) ?0 : MaxSector; } - mddev->reshape_backwards =0 ;/* adding disks -> forward reshape */ + mddev->reshape_backwards =0 ;/* adding disk(s) -> forward reshape */ /* Remove disk(s) */ }else if (rs->delta_disks <0 ) {
Signature · 1 line
2.13.6