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

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

 



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

Attachment: signature.asc
Description: PGP signature


[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