Re: [PATCH v3] scsi: libsas: fix HA resume deadlock and hisi_sas disk-wake race

"Martin K. Petersen" <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.scsi
Message-ID <[email protected]>
On Thu, 16 Jul 2026 16:11:45 +0800, Xingui Yang wrote:

> Commit fbefe22811c3140 ("scsi: libsas: Don't always drain event workqueue
> for HA resume") introduced sas_resume_ha_no_sync() to avoid a deadlock:
> the PHYE_RESUME_TIMEOUT handler, running on the HA event workqueue, calls
> sas_deform_port() -> sas_destruct_devices(), which removes SCSI devices and
> waits for the host to become runtime-active. But the host cannot resume
> until sas_resume_ha() -> sas_drain_work() returns, and the drain is blocked
> on that very handler.
> 
> [...]

Applied to 7.2/scsi-fixes, thanks!

[1/1] scsi: libsas: fix HA resume deadlock and hisi_sas disk-wake race
      https://git.kernel.org/mkp/scsi/c/3dbbbf656b85

-- 
Martin K. Petersen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.