Skip to content

Directly kick-off EH when device removed with active IO

Xingui Yang linux-scsi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 0 repliesNew

Changes in v3 from the cover letter

- Support both for sas and sata device
- Add a new libsas API
- LLDD implement lldd_device_task_abort()

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scsi: libsas: Add sas_device_task_abort()drivers/scsi/libsas/sas_scsi_host.c include/scsi/libsas.h+11 -00 replies
2/3scsi: libsas: Directly kick-off EH when device removed with active IOdrivers/scsi/libsas/sas_discover.c+3 -00 replies
3/3scsi: hisi_sas: Implement lldd_device_task_abort()drivers/scsi/hisi_sas/hisi_sas_main.c+19 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Directly kick-off EH when device removed with active IO

The following patches solve the age-old problem - that is, EH eventually kicking in only after 30 seconds when a disk is removed with active IO.

This series add a new libsas API - sas_device_task_abort() - to abort device active io and define a interface lldd_device_task_abort() for LLDD to implement.

Changes since v2:
- Support both for sas and sata device
- Add a new libsas API
- LLDD implement lldd_device_task_abort()

Xingui Yang (3):
scsi: libsas: Add sas_device_task_abort()
scsi: libsas: Directly kick-off EH when device removed with active IO
scsi: hisi_sas: Implement lldd_device_task_abort()

 drivers/scsi/hisi_sas/hisi_sas_main.c | 19 +++++++++++++++++++
 drivers/scsi/libsas/sas_discover.c    |  3 +++
 drivers/scsi/libsas/sas_scsi_host.c   |  9 +++++++++
 include/scsi/libsas.h                 |  2 ++
 4 files changed, 33 insertions(+)
Signature · 1 line
2.17.1