Skip to content

scsi, libsas, libata: fix up host_eh_scheduled usage

Dan Williams linux-ide linux-scsi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libata, libsas: introduce sched_eh and end_eh port opsdrivers/ata/libata-core.c drivers/ata/libata-eh.c drivers/scsi/libsas/sas_ata.c +7 more+134 -370 replies
2/4scsi: fix eh wakeup (scsi_schedule_eh vs scsi_restart_operations)drivers/scsi/scsi_error.c+14 -00 replies
3/4libsas: cleanup spurious calls to scsi_schedule_ehdrivers/scsi/libsas/sas_ata.c drivers/scsi/libsas/sas_scsi_host.c+0 -20 replies
4/4scsi: cleanup setting task state in scsi_error_handler()drivers/scsi/scsi_error.c+1 -30 replies

Reviews trailers per patch

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

PatchJacek DaneckiJeff GarzikTom Jackson
1/4R-b A-b
2/4T-b
3/4R-b
4/4

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 [set1 PATCH 0/4] scsi, libsas, libata: fix up host_eh_scheduled usage

Set1 of 5 patchsets to update scsi, libsas, and libata in support of the isci driver.

Libsas is more dependent on proper management of host_eh_scheduled compared to what libata has typically exposed. Libsas has multiple ata_ports per Scsi_Host, while libata enforces 1:1. Fix cases where this distinction causes problems.

These have been submitted previously for 3.4 and 3.5.

---

Dan Williams (3):
libata, libsas: introduce sched_eh and end_eh port ops
scsi: fix eh wakeup (scsi_schedule_eh vs scsi_restart_operations)
scsi: cleanup setting task state in scsi_error_handler()

Maciej Trela (1):
libsas: cleanup spurious calls to scsi_schedule_eh

 drivers/ata/libata-core.c           |    4 ++
 drivers/ata/libata-eh.c             |   57 ++++++++++++++++++++++++++++-------
 drivers/scsi/libsas/sas_ata.c       |   39 +++++++++++++++++++++---
 drivers/scsi/libsas/sas_discover.c  |    6 ++--
 drivers/scsi/libsas/sas_event.c     |   12 ++++---
 drivers/scsi/libsas/sas_init.c      |   14 ++++-----
 drivers/scsi/libsas/sas_scsi_host.c |   28 +++++++++++++----
 drivers/scsi/scsi_error.c           |   18 +++++++++--
 include/linux/libata.h              |    4 ++
 include/scsi/libsas.h               |    4 ++
 include/scsi/sas_ata.h              |    5 +++
 11 files changed, 149 insertions(+), 42 deletions(-)