Re: [PATCH v4] scsi: ufs: core: Don't perform UFS clkscale if host asyn scan in progress
From: Martin K. Petersen
Date: Mon Jun 02 2025 - 22:37:01 EST
On Thu, 22 May 2025 16:12:28 +0800, Ziqi Chen wrote:
> When preparing for UFS clock scaling, the UFS driver will quiesce all sdevs
> queues in the UFS SCSI host tagset list and then unquiesce them when UFS
> clock scaling unpreparing. If the UFS SCSI host async scan is in progress
> at this time, some LUs may be added to the tagset list between UFS clkscale
> prepare and unprepare. This can cause two issues:
>
> 1. During clock scaling, there may be IO requests issued through new added
> queues that have not been quiesced, leading to task abort issue.
>
> [...]
Applied to 6.16/scsi-queue, thanks!
[1/1] scsi: ufs: core: Don't perform UFS clkscale if host asyn scan in progress
https://git.kernel.org/mkp/scsi/c/e97633492f5a
--
Martin K. Petersen Oracle Linux Engineering