Re: [PATCH 007 of 13] md: Core of raid5 resize process
From: Neil Brown
Date: Fri Mar 17 2006 - 02:08:44 EST
On Thursday March 16, akpm@xxxxxxxx wrote:
> 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?
Uhmm... sort of.
A later patch adds stuff to the later branch but not the middle one.
This comes from creating a patch to fix a bug, then merging it back
into the wrong original patch...
NeilBrown
-
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/