RE: [PATCH] kill-subarray: fix, IMSM cannot kill-subarray with unsupported metadata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neil,
I will be back with that subject with a patch (or an explanation ;)).
Marcin Labun

> -----Original Message-----
> From: NeilBrown [mailto:neilb@xxxxxxx]
> Sent: Monday, November 07, 2011 2:34 AM
> To: Labun, Marcin
> Cc: linux-raid@xxxxxxxxxxxxxxx; Kwolek, Adam
> Subject: Re: [PATCH] kill-subarray: fix, IMSM cannot kill-subarray with
> unsupported metadata
> 
> On Thu, 3 Nov 2011 15:23:03 +0000 "Labun, Marcin"
> <Marcin.Labun@xxxxxxxxx>
> wrote:
> 
> > Hi Neil,
> > This is OK.
> > However, reshape_container (called from Grow_continue_command)
> ignores info that is chosen by subarray string given by user.
> > Therefore, all container's arrays are possibly grown (including those
> > we want to block) So we need to patch Grow_continue, so it performs
> grow on the array that user requested, not all arrays that are in the
> reshape process.
> > Thanks,
> > Marcin
> >
> 
> I don't think I understand...
> 
> When continuing a grow the user shouldn't need to specify which
> subarray needs to be continued.  That information is in the metadata.
> So use just says "--grow --continue" and mdadm looks at the container
> to see which arrays are in the middle of a reshape and continues those.
> If one of them is such that the next array must be reshaped when this
> one completes, that should just happen automatically too.
> 
> ??
> 
> NeilBrown

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux