Re: [PATCH v2 08/14] md/raid1: fix IO error at logical block size granularity
From: Yu Kuai
Date: Wed Feb 04 2026 - 11:59:37 EST
在 2026/1/28 15:57, linan666@xxxxxxxxxxxxxxx 写道:
> From: Li Nan<linan122@xxxxxxxxxx>
>
> RAID1 currently fixes IO error at PAGE_SIZE granularity. Fix at smaller
> granularity can handle more errors, and RAID will support logical block
> sizes larger than PAGE_SIZE in the future, where PAGE_SIZE IO will fail.
>
> Switch IO error fix granularity to logical block size.
>
> Signed-off-by: Li Nan<linan122@xxxxxxxxxx>
> ---
> drivers/md/raid1.c | 13 ++++---------
> 1 file changed, 4 insertions(+), 9 deletions(-)
Reviewed-by: Yu Kuai <yukuai@xxxxxxxxx>
--
Thansk,
Kuai