scsi_eh_test_devices(9)
π
scsi_eh_test_devices(9) β Kernel API Manual β¨
π NAME π
scsi_eh_test_devices β check if devices are responding from error recovery.
β¨ SYNOPSIS β¨
Okay bestie, here's the exact signature β do not come for the spacing, it's literally giving what it needs to give π :
int scsi_eh_test_devices (struct list_head *cmd_list , struct list_head
*work_q , struct list_head *done_q , int try_stu );
π ARGUMENTS π
Four little besties walk into the error-recovery group chat:
cmd_listβ scsi commands in error recovery.work_qβ queue for commands which still need more error recovery.done_qβ queue for commands which are finished.try_stuβ boolean on if aSTUcommand should be tried in addition toTUR.
π¦ DESCRIPTION π¦
The original literally spells it Decription: (not me, bestie π), and the tea is: it tests if devices are in a working state. Commands to devices now in a working state are sent to the done_q, while commands to devices which are still failing to respond are returned to the work_q for more processing.
No cap: this is the whole error-recovery vibe check. Working devices get thedone_qglow-up β¨, still-failing devices get sent back towork_qfor more processing π.
πΈ SEE ALSO πΈ
Kernel file: ./drivers/scsi/scsi_error.c β and here's the whole squad, roll call π«Ά:
scsi_schedule_eh(9)scmd_eh_abort_handler(9)scsi_abort_command(9)scsi_eh_reset(9)scsi_eh_scmd_add(9)scsi_timeout(9)scsi_block_when_processing_errors(9)scsi_eh_prt_fail_stats(9)scsi_report_sense(9)scsi_check_sense(9)scsi_eh_completed_normally(9)scsi_eh_done(9)scsi_try_host_reset(9)scsi_try_bus_reset(9)scsi_try_target_reset(9)scsi_try_bus_device_reset(9)scsi_try_to_abort_cmd(9)scsi_eh_prep_cmnd(9)scsi_eh_restore_cmnd(9)scsi_send_eh_cmnd(9)scsi_request_sense(9)scsi_eh_finish_cmd(9)scsi_eh_get_sense(9)scsi_eh_tur(9)scsi_eh_try_stu(9)scsi_eh_bus_device_reset(9)scsi_eh_target_reset(9)scsi_eh_bus_reset(9)scsi_eh_host_reset(9)scsi_eh_offline_sdevs(9)scsi_noretry_cmd(9)scsi_decide_disposition(9)scsi_eh_lock_door(9)scsi_restart_operations(9)scsi_eh_ready_devs(9)scsi_eh_flush_done_q(9)scsi_unjam_host(9)scsi_error_handler(9)scsi_report_bus_reset(9)scsi_report_device_reset(9)scsi_ioctl_reset(9)scsi_get_sense_info_fld(9)
That's the whole page, bestie π«Ά it comes from ./drivers/scsi and is dated October 2026 β mwah, bye π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms