Re: [PATCH] scsi: mpt3sas: Register devices during SANITIZE
From: Martin K. Petersen
Date: Fri Oct 30 2026 - 20:57:38 EST
> A SAS disk being sanitized responds to TEST UNIT READY with NOT READY,
> ASC 0x04, ASCQ 0x1b. mpt3sas discovery maps this sense to
> DEVICE_START_UNIT and issues START UNIT repeatedly. The drive stays
> NOT READY until the sanitize operation completes, causing discovery to
> exhaust its retry budget and decline SCSI device registration.
>
> Allow registration only for the SANITIZE IN PROGRESS sense, so sd/sg
> can expose the target while retaining its actual NOT READY state. All
> other sense dispositions are unchanged.
Applied to 7.4/scsi-staging, thanks!
--
Martin K. Petersen