Home
last modified time | relevance | path

Searched refs:eh_work_q (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/Documentation/scsi/
Dscsi_eh.txt210 eh_work_q. If a recovery action succeeds for a scmd, recovered
211 scmds are removed from eh_work_q.
217 - Higher severity actions are taken iff eh_work_q is not empty after
224 When a scmd is recovered, the scmd is moved from eh_work_q to EH
226 recovered (eh_work_q is empty), scsi_eh_flush_done_q() is invoked to
245 ACTION: move all scmds to EH's local eh_work_q. shost->eh_cmd_q
253 - move from local eh_work_q to local eh_done_q
255 CONCURRENCY: at most one thread per separate eh_work_q to
261 a no more than one thread per separate eh_work_q to
278 eh_work_q and unlock host_lock. Note that shost->eh_cmd_q is
[all …]
/Linux-v4.19/drivers/scsi/libsas/
Dsas_scsi_host.c750 LIST_HEAD(eh_work_q); in sas_scsi_recover_host()
758 list_splice_init(&shost->eh_cmd_q, &eh_work_q); in sas_scsi_recover_host()
769 sas_eh_handle_sas_errors(shost, &eh_work_q); in sas_scsi_recover_host()
771 if (list_empty(&eh_work_q)) in sas_scsi_recover_host()
780 sas_ata_eh(shost, &eh_work_q, &ha->eh_done_q); in sas_scsi_recover_host()
781 if (!scsi_eh_get_sense(&eh_work_q, &ha->eh_done_q)) in sas_scsi_recover_host()
782 scsi_eh_ready_devs(shost, &eh_work_q, &ha->eh_done_q); in sas_scsi_recover_host()
/Linux-v4.19/drivers/scsi/
Dscsi_error.c2123 LIST_HEAD(eh_work_q); in scsi_unjam_host()
2127 list_splice_init(&shost->eh_cmd_q, &eh_work_q); in scsi_unjam_host()
2130 SCSI_LOG_ERROR_RECOVERY(1, scsi_eh_prt_fail_stats(shost, &eh_work_q)); in scsi_unjam_host()
2132 if (!scsi_eh_get_sense(&eh_work_q, &eh_done_q)) in scsi_unjam_host()
2133 scsi_eh_ready_devs(shost, &eh_work_q, &eh_done_q); in scsi_unjam_host()
/Linux-v4.19/drivers/ata/
Dlibata-eh.c544 LIST_HEAD(eh_work_q); in ata_scsi_error()
549 list_splice_init(&host->eh_cmd_q, &eh_work_q); in ata_scsi_error()
552 ata_scsi_cmd_error_handler(host, ap, &eh_work_q); in ata_scsi_error()
559 WARN_ON(!list_empty(&eh_work_q)); in ata_scsi_error()
575 struct list_head *eh_work_q) in ata_scsi_cmd_error_handler() argument
614 list_for_each_entry_safe(scmd, tmp, eh_work_q, eh_entry) { in ata_scsi_cmd_error_handler()