Re: [PATCH 04/12] badblocks: return error directly when setting badblocks exceeds 512

From: Li Nan
Date: Tue Feb 25 2025 - 04:20:07 EST




在 2025/2/21 17:55, Yu Kuai 写道:
Hi,

+CC Linan

在 2025/02/21 16:11, Zheng Qixing 写道:
From: Li Nan <linan122@xxxxxxxxxx>

In the current handling of badblocks settings, a lot of processing has
been done for scenarios where the number of badblocks exceeds 512.
This makes the code look quite complex and also introduces some issues,

It's better to add explanations about these issues here.


Thank you for your review. I will add more details in the next version.

--
Thanks,
Nan