Re: [PATCH OLK-5.10 v3 0/4] md: bugfix of writing raid sysfs

From: Song Liu
Date: Fri May 19 2023 - 18:07:49 EST


On Mon, May 15, 2023 at 6:49 AM <linan666@xxxxxxxxxxxxxxx> wrote:
>
> From: Li Nan <linan122@xxxxxxxxxx>
>
> The patch series fix the bug of writing raid sysfs.
>
> Changes in v2:
> - in patch 1, move check out of md_bitmap_checkpage().
> - in patch 2, use div64_u64() and DIV64_U64_ROUND_UP() instead of directly
> '/', and chang old_delay/old_delay to unsigned int.
> - in patch 4, use 'goto' to make changes more readable.
>
> Changes in v2:
> - add patch "md/raid10: optimize check_decay_read_errors()".
> - in patch 2, return ret-value of strict_strtoul_scaled if error occurs.
> - in patch 3, optimize format.
>
> Li Nan (4):
> md/raid10: fix slab-out-of-bounds in md_bitmap_get_counter
> md/raid10: fix overflow in safe_delay_store
> md/raid10: fix wrong setting of max_corr_read_errors
> md/raid10: optimize check_decay_read_errors()

I applied 1/4 to md-next.

Thanks,
Song