Re: [PATCH 007 of 13] md: Core of raid5 resize process

From: Andrew Morton
Date: Fri Mar 17 2006 - 01:03:36 EST


NeilBrown <neilb@xxxxxxx> wrote:
>
> @@ -4539,7 +4543,9 @@ static void md_do_sync(mddev_t *mddev)
> */
> max_sectors = mddev->resync_max_sectors;
> mddev->resync_mismatches = 0;
> - } else
> + } else if (test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery))
> + max_sectors = mddev->size << 1;
> + else
> /* recovery follows the physical size of devices */
> max_sectors = mddev->size << 1;
>

This change is a no-op. Intentional?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/