Re: [PATCH] Revert "scsi: sd: Do not repeat the starting disk message"

From: Damien Le Moal
Date: Wed Jul 17 2024 - 08:05:32 EST


On 7/17/24 01:11, Johan Hovold wrote:
> This reverts commit 7a6bbc2829d4ab592c7e440a6f6f5deb3cd95db4.
>
> The offending commit tried to suppress a double "Starting disk" message
> for some drivers, but instead started spamming the log with bogus
> messages every five seconds:
>
> [ 311.798956] sd 0:0:0:0: [sda] Starting disk
> [ 316.919103] sd 0:0:0:0: [sda] Starting disk
> [ 322.040775] sd 0:0:0:0: [sda] Starting disk
> [ 327.161140] sd 0:0:0:0: [sda] Starting disk
> [ 332.281352] sd 0:0:0:0: [sda] Starting disk
> [ 337.401878] sd 0:0:0:0: [sda] Starting disk
> [ 342.521527] sd 0:0:0:0: [sda] Starting disk
> [ 345.850401] sd 0:0:0:0: [sda] Starting disk
> [ 350.967132] sd 0:0:0:0: [sda] Starting disk
> [ 356.090454] sd 0:0:0:0: [sda] Starting disk
> ...
>
> on machines that do not actually stop the disk on runtime suspend (e.g.
> the Qualcomm sc8280xp CRD with UFS).
>
> Let's just revert for now to address the regression.
>
> Fixes: 7a6bbc2829d4 ("scsi: sd: Do not repeat the starting disk message")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>

Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>

--
Damien Le Moal
Western Digital Research