Searched refs:eh_work_q (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/Documentation/scsi/ |
D | scsi_eh.txt | 223 eh_work_q. If a recovery action succeeds for a scmd, recovered 224 scmds are removed from eh_work_q. 230 - Higher severity actions are taken iff eh_work_q is not empty after 237 When a scmd is recovered, the scmd is moved from eh_work_q to EH 239 recovered (eh_work_q is empty), scsi_eh_flush_done_q() is invoked to 259 ACTION: move all scmds to EH's local eh_work_q. shost->eh_cmd_q 269 - move from local eh_work_q to local eh_done_q 289 eh_work_q and unlock host_lock. Note that shost->eh_cmd_q is 327 3. If !list_empty(&eh_work_q), invoke scsi_eh_abort_cmds(). 339 the scmd. Otherwise, the scmd is left in eh_work_q for [all …]
|
/linux-4.4.14/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 748 LIST_HEAD(eh_work_q); in sas_scsi_recover_host() 756 list_splice_init(&shost->eh_cmd_q, &eh_work_q); in sas_scsi_recover_host() 767 sas_eh_handle_sas_errors(shost, &eh_work_q); in sas_scsi_recover_host() 769 if (list_empty(&eh_work_q)) in sas_scsi_recover_host() 778 sas_ata_eh(shost, &eh_work_q, &ha->eh_done_q); in sas_scsi_recover_host() 779 if (!scsi_eh_get_sense(&eh_work_q, &ha->eh_done_q)) in sas_scsi_recover_host() 780 scsi_eh_ready_devs(shost, &eh_work_q, &ha->eh_done_q); in sas_scsi_recover_host()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_error.c | 2144 LIST_HEAD(eh_work_q); in scsi_unjam_host() 2148 list_splice_init(&shost->eh_cmd_q, &eh_work_q); in scsi_unjam_host() 2151 SCSI_LOG_ERROR_RECOVERY(1, scsi_eh_prt_fail_stats(shost, &eh_work_q)); in scsi_unjam_host() 2153 if (!scsi_eh_get_sense(&eh_work_q, &eh_done_q)) in scsi_unjam_host() 2154 if (!scsi_eh_abort_cmds(&eh_work_q, &eh_done_q)) in scsi_unjam_host() 2155 scsi_eh_ready_devs(shost, &eh_work_q, &eh_done_q); in scsi_unjam_host()
|
/linux-4.4.14/drivers/ata/ |
D | libata-eh.c | 594 LIST_HEAD(eh_work_q); in ata_scsi_error() 599 list_splice_init(&host->eh_cmd_q, &eh_work_q); in ata_scsi_error() 602 ata_scsi_cmd_error_handler(host, ap, &eh_work_q); in ata_scsi_error() 609 WARN_ON(host->host_failed || !list_empty(&eh_work_q)); in ata_scsi_error() 625 struct list_head *eh_work_q) in ata_scsi_cmd_error_handler() argument 665 list_for_each_entry_safe(scmd, tmp, eh_work_q, eh_entry) { in ata_scsi_cmd_error_handler()
|