Re: [PATCH] md/raid1: set max_sectors during early return from choose_slow_rdev()
From: Mateusz Jończyk
Date: Sat Jul 13 2024 - 08:47:36 EST
W dniu 12.07.2024 o 03:16, Yu Kuai pisze:
> Hi,
>
> 在 2024/07/12 4:23, Mateusz Jończyk 写道:
>> Linux 6.9+ is unable to start a degraded RAID1 array with one drive,
>> when that drive has a write-mostly flag set. During such an attempt,
>> the following assertion in bio_split() is hit:
>>
[snip]
>
> Thanks for the patch!
>
> Reviewed-by: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> BTW, do you have plans to add a new test to mdadm tests? I'll
> pick it up if you don't, just let me know.
>
> Thanks,
> Kuai
Yes, I'm working on it.
Greetings,
Mateusz