Re: [PATCH v3 1/3] scsi: hisi_sas: Enable force phy when SATA disk directly connected

From: John Garry
Date: Thu Feb 20 2025 - 12:39:07 EST


On 20/02/2025 13:05, Xingui Yang wrote:

-john.garry@xxxxxxxxxx (this has not worked in over 2 years ...)

the SAS controller determines the disk to which I/Os are delivered based
on the port id in the DQ entry when SATA disk directly connected.

When many phys were disconnected immediately and connected again during
I/O sending and port id of phys were changed and used by other link, I/O
may be sent to incorrect disk and data inconsistency on the SATA disk may


So is the disk reported gone (from libsas point-of-view) after you unplug? If not, why not?

Thanks,
John