Re: [PATCH 0/2] Check and update the device link rate during discovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/10/2022 15:16, Yihang Li wrote:
SATA devices attached to an expander maybe generate incorrect IOs when
physical link re-establish at a lower link rate. This is due to the
expander PHY attached to a SATA PHY is using link rate greater than the
physical PHY link rate which is re-established.


How do you create this scenario? I thought that I added min pathway support for root phy, such that we have min pathway support for root phy through 1x expander to a sata disk for initial discovery. I can't remember exactly the scenario I added support for....

BTW, did you mean the send this to mainline scsi mailng list? You did not cc maintainers Martin and James.

This patchset fixes the issue.

Yihang Li (2):
   scsi: libsas: Add sas_update_linkrate()
   scsi: libsas: Add sas_check_port_linkrate()

  drivers/scsi/libsas/sas_discover.c | 18 +++++++++++++-
  drivers/scsi/libsas/sas_expander.c | 40 ++++++++++++++++++++++++++++++
  drivers/scsi/libsas/sas_internal.h |  1 +
  3 files changed, 58 insertions(+), 1 deletion(-)





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux