Re: [PATCH 00/14] scsi: scsi_error: Introduce new error handle mechanism
From: Damien Le Moal
Date: Tue Sep 02 2025 - 01:33:46 EST
On 9/2/25 3:03 PM, JiangJianJun wrote:
>> Use write long command to "destroy" sectors. Then try to read them. That will
>> generate uncorrectable read errors.
>
> There is a misunderstanding here, the condition that triggers this error
> handler is when the device is slow or unresponsive, or fails to start;
> bad blocks refer to data errors rather than faults.
You probably easilly can simulate an unresponsive device using either qemu or
tcmu-runner.
--
Damien Le Moal
Western Digital Research