Skip to content

handles queue_depth adjustments in scsi_error.c

Vasu Dev linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10scsi-ml: modify change_queue_depth to take in reason why it is being calleddrivers/scsi/scsi_sysfs.c include/scsi/scsi_host.h+9 -20 replies
2/10scsi error: have scsi-ml call change_queue_depth to handle QUEUE_FULLdrivers/scsi/scsi_error.c+25 -11 reply
3/10drivers: convert drivers setting the change_queue_depth callbackdrivers/ata/libata-scsi.c drivers/ata/sata_nv.c drivers/message/fusion/mptscsih.c +21 more+97 -281 reply
4/10drivers: convert fc drivers calling scsi_track_queue_fulldrivers/scsi/libfc/fc_fcp.c drivers/scsi/lpfc/lpfc_scsi.c drivers/scsi/qla2xxx/qla_isr.c +1 more+77 -8610 replies
5/10scsi: updates sdev to add queue_depth ramp up codedrivers/scsi/scsi.c include/scsi/scsi_device.h+11 -50 replies
6/10scsi: adds sdev->queue_ramp_up_period to sysfsdrivers/scsi/scsi_scan.c drivers/scsi/scsi_sysfs.c include/scsi/scsi_device.h+39 -20 replies
7/10scsi: add common queue_depth ramp up codedrivers/scsi/scsi_error.c+36 -02 replies
8/10fcoe, libfc: fix an libfc issue with queue ramp down in libfcdrivers/scsi/fcoe/fcoe.c drivers/scsi/libfc/fc_fcp.c+7 -91 reply
9/10libfc: adds queue_depth ramp up to libfcdrivers/scsi/libfc/fc_fcp.c+5 -01 reply
10/10zfcp: Adapt change_queue_depth for queue full trackingdrivers/s390/scsi/zfcp_scsi.c+14 -20 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchRobert Love
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10A-b
9/10A-b
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] handles queue_depth adjustments in scsi_error.c

This patch series moves the QUEUE_FULL and then the ramp up code from drivers like qla2xxx and lpfc to scsi-ml. The change_queue_depth callback is used to allow the drivers to adjust the queue depth, so LLDs do not have to worry about parsing the sense, see some additional info on these changes in first RFC cover at:-

http://www.spinics.net/lists/linux-scsi/msg35959.html

I've tested this series with libfc/fcoe for queue_depth ramp down and up.

This series is based on scsi-misc -rc7 and also cleanly applies & works on top recently submitted 64 fcoe patches series by Rob "[PATCH 00/64] libfc, libfcoe and fcoe updates for scsi-misc"

I'm posting this series with Mike and Christof patches per this mail thread discussion
http://marc.info/?l=linux-scsi&m=125196587107768&w=2

---

Christof Schmitt (1):
zfcp: Adapt change_queue_depth for queue full tracking

Mike Christie (4):
drivers: convert fc drivers calling scsi_track_queue_full
drivers: convert drivers setting the change_queue_depth callback scsi error: have scsi-ml call change_queue_depth to handle QUEUE_FULL
scsi-ml: modify change_queue_depth to take in reason why it is being called

Vasu Dev (5):
libfc: adds queue_depth ramp up to libfc
fcoe, libfc: fix an libfc issue with queue ramp down in libfc
scsi: add common queue_depth ramp up code
scsi: adds sdev->queue_ramp_up_period to sysfs
scsi: updates sdev to add queue_depth ramp up code

 drivers/ata/libata-scsi.c             |    7 +++
 drivers/ata/sata_nv.c                 |    2 -
 drivers/message/fusion/mptscsih.c     |    9 +++-
 drivers/message/fusion/mptscsih.h     |    3 +
 drivers/s390/scsi/zfcp_scsi.c         |   21 ++++++++-
 drivers/scsi/3w-9xxx.c                |    5 ++
 drivers/scsi/3w-xxxx.c                |    5 ++
 drivers/scsi/53c700.c                 |    5 ++
 drivers/scsi/aacraid/linit.c          |    6 ++-
 drivers/scsi/arcmsr/arcmsr_hba.c      |    5 ++
 drivers/scsi/fcoe/fcoe.c              |    2 -
 drivers/scsi/hptiop.c                 |    5 ++
 drivers/scsi/ibmvscsi/ibmvfc.c        |    7 +++
 drivers/scsi/ibmvscsi/ibmvscsi.c      |    7 +++
 drivers/scsi/ipr.c                    |    7 +++
 drivers/scsi/libfc/fc_fcp.c           |   47 ++++++++++-----------
 drivers/scsi/libiscsi.c               |    4 +-
 drivers/scsi/libsas/sas_scsi_host.c   |    6 ++-
 drivers/scsi/lpfc/lpfc_scsi.c         |   75 ++++++++++++++++++---------------
 drivers/scsi/megaraid/megaraid_mbox.c |    7 +++
 drivers/scsi/mpt2sas/mpt2sas_scsih.c  |   10 +++-
 drivers/scsi/qla2xxx/qla_isr.c        |   32 --------------
 drivers/scsi/qla2xxx/qla_os.c         |   32 +++++++++++++-
 drivers/scsi/scsi.c                   |   10 ++++
 drivers/scsi/scsi_error.c             |   62 +++++++++++++++++++++++++++
 drivers/scsi/scsi_scan.c              |    1 
 drivers/scsi/scsi_sysfs.c             |   41 +++++++++++++++++-
 include/linux/libata.h                |    2 -
 include/scsi/libfc.h                  |    2 -
 include/scsi/libiscsi.h               |    3 +
 include/scsi/libsas.h                 |    3 +
 include/scsi/scsi_device.h            |    8 ++--
 include/scsi/scsi_host.h              |    8 +++-
 33 files changed, 317 insertions(+), 132 deletions(-)