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

John Garry
2025-02-20T17:36:09Z

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

-john.garry@huawei.com (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