Re: [PATCH] imsm: update num_data_stripes according to dev_size

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

 



On 11/24/20 8:15 AM, Mariusz Tkaczyk wrote:
> If array was created in UEFI there is possibility that
> member size is not rounded to 1MB. After any size reconfiguration
> it will be rounded down to 1MB per each member but the old
> component size will remain in metadata.
> During reshape old array size is calculated from component size because
> dev_size is not a part of map and is bumped to new value quickly.
> It may result in size mismatch if array is assembled during reshape.
> 
> If difference in calculated size and dev_size is observed try to fix it.
> num_data_stripes value can be safety updated to smaller value if array
> doesn't occuppy whole reserved component space.
> 
> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxxxxxxxx>
> ---
>  super-intel.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++----
>  1 file changed, 78 insertions(+), 6 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