Re: [RFC v2 0/5] md/raid1: introduce a new sync action to repair badblocks

From: Zheng Qixing

Date: Tue Feb 03 2026 - 03:08:36 EST


Hi,

在 2026/2/3 15:31, Christoph Hellwig 写道:
Just curious, but what kind of devices do you see that have
permanent bad blocks at a fixed location that are not fixed by
rewriting the sector?

The bad_blocks entries record sectors where I/O failed, which
indicates that the device-internal remapping did not succeed
at that time.

`rectify` does not assume a permanently bad or fixed LBA. Its
purpose is to trigger an additional rewrite, giving the underlying
device (e.g. FTL or firmware) another opportunity to perform its
own remapping.