scsi_eh_ready_devs(9)
π scsi_eh_ready_devs β like, the Kernel API Manual page you didn't know you needed
okay so bestie, buckle up β¨ this one's from the Kernel API Manual, and the star of the show is scsi_eh_ready_devs π
πΈ NAME πΈ
scsi_eh_ready_devs β checks whether a device is, like, ready or not, and recovers it if it's not. vibe check for your SCSI device, basically π
β¨ SYNOPSIS β¨
void scsi_eh_ready_devs (struct Scsi_Host *shost , struct list_head
*work_q , struct list_head *done_q );
no cap, that's the whole signature π«Ά
π¦ ARGUMENTS π¦
shostβ the host that's getting recovered. main character energy πwork_qβ thelist_headfor pending commands. the "still gotta do these" pile πdone_qβ thelist_headfor processed commands. the "already handled, tyvm" pile β
π SEE ALSO π
it's giving link dump, and honestly we love that for us. all of these live in the kernel file ./drivers/scsi/scsi_error.c π
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_test_devices(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_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)
ok that's literally all of them, don't come for me π every single one is up there, promise π
and that's the page, bestie! π this masterpiece lives in ./drivers/scsi, and the date on it is October 2026 β so yeah, it's giving future-iconic. catch you on scsi_eh_ready_devs(9) πβ¨
π¦ 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