Skip to content

libsas fixes discovered via isci-atapi enabling effort

Dan Williams linux-ide linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libsas: disable scanning lun > 0 on ata devicesdrivers/scsi/scsi_transport_sas.c+8 -23 replies
2/5libsas: fix ->change_queue_{depth|type} for sata devicesdrivers/ata/libata-core.c drivers/ata/libata-scsi.c drivers/scsi/libsas/sas_scsi_host.c +1 more+42 -163 replies
3/5libsas: dynamic queue depthdrivers/scsi/libsas/sas_scsi_host.c+18 -214 replies
4/5mvsas: remove mvs_slave_{alloc|configure}drivers/scsi/mvsas/mv_init.c drivers/scsi/mvsas/mv_sas.c drivers/scsi/mvsas/mv_sas.h+2 -344 replies
5/5pm8001: remove pm8001_slave_{alloc|configure}drivers/scsi/pm8001/pm8001_init.c drivers/scsi/pm8001/pm8001_sas.c drivers/scsi/pm8001/pm8001_sas.h+3 -340 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDave JiangJack WangJeff Garzik
SeriesR-b
1/5A-b
2/5A-b
3/5T-b T-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] libsas fixes discovered via isci-atapi enabling effort

While enabling atapi device support for isci we encountered a condition whereby multiple srX devices (one for every possible LUN) were exported by the midlayer. Looking at other drivers showed that they had a local workaround for this and other conditions in custom ->slave_{alloc|configure} methods. Rather than add custom workaround for isci this patchset uplevels those workarounds to libsas proper.

Patch 3/5 is tagged RFC as I do not know the original history behind hard limiting libsas end devices to a queue_depth of 32. At least mvsas has been bumping this up to 64 on its own.

---

Dan Williams (5):

      libsas: disable scanning lun > 0 on ata devices
      libsas: fix ->change_queue_{depth|type} for sata devices
      libsas: dynamic queue depth
      mvsas: remove mvs_slave_{alloc|configure}
      pm8001: remove pm8001_slave_{alloc|configure}
 drivers/ata/libata-core.c           |    1 +
 drivers/ata/libata-scsi.c           |   44 +++++++++++++++++++++++------------
 drivers/scsi/libsas/sas_scsi_host.c |   42 +++++++++++++++++++--------------
 drivers/scsi/mvsas/mv_init.c        |    4 ++-
 drivers/scsi/mvsas/mv_sas.c         |   30 ------------------------
 drivers/scsi/mvsas/mv_sas.h         |    2 --
 drivers/scsi/pm8001/pm8001_init.c   |    4 ++-
 drivers/scsi/pm8001/pm8001_sas.c    |   31 +------------------------
 drivers/scsi/pm8001/pm8001_sas.h    |    2 --
 drivers/scsi/scsi_transport_sas.c   |   10 ++++++--
 include/linux/libata.h              |    2 ++
 11 files changed, 69 insertions(+), 103 deletions(-)