Re: [PATCH] Assemble.c: respect force flag.

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

 



On 5/5/20 6:17 AM, Tkaczyk Mariusz wrote:
> From: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxx>
> 
> If the array is dirty handler will set resync_start to 0 to inform kernel
> that resync is needed. RWH affects only raid456 module, for other
> levels array will be started even array is degraded and resync cannot be
> performed.
> 
> Force is really meaningful for raid456. If array is degraded and resync
> is requested, kernel will reject an attempt to start the array. To
> respect force, it has to be marked as clean (this will be done for each
> array without PPL) and remove the resync request (only for raid 456).
> Data corruption may occur so proper warning is added.
> 
> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxx>
> ---
>  Assemble.c | 51 ++++++++++++++++++++++++++++++++++++++-------------
>  1 file changed, 38 insertions(+), 13 deletions(-)

Applied!

Thanks,
Jes




[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