Re: [RFC v2 0/5] md/raid1: introduce a new sync action to repair badblocks
Christoph Hellwig <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.raid |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 03, 2026 at 04:08:23PM +0800, Zheng Qixing wrote: > 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. Well, what devices do you see where writes fail, but rewrites fix them?