scsi_eh_host_reset(9)
π scsi_eh_host_reset(9) π
okay so welcome to the Kernel API Manual, bestie β today's main character is scsi_eh_host_reset, and honestly? she's the one who hits the big red button. π«Ά
β¨ NAME β¨
scsi_eh_host_reset β send a host reset π₯
like, the whole host. not a device, not a target, not a bus β the host. she goes big or she goes home. π
πΈ SYNOPSIS πΈ
int scsi_eh_host_reset (struct Scsi_Host *shost , struct list_head
*work_q , struct list_head *done_q );
three args, one int back, no cap. β¨
π ARGUMENTS π
shostβ the host to be reset. girlies, this is the one getting the reset treatment πwork_qβ alist_headfor pending commands. the "haven't done it yet" pile π¦done_qβ alist_headfor processed commands. the "already been through it" pile πΈ
π SEE ALSO π
Kernel file ./drivers/scsi/scsi_error.c β and like, the entire extended friend group of error-handling functions, fr fr π
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_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)(the most iconic function name in the whole tree, i said what i said π)scsi_error_handler(9)scsi_report_bus_reset(9)scsi_report_device_reset(9)scsi_ioctl_reset(9)scsi_get_sense_info_fld(9)
π the cute sign-off π
that's the whole page, bestie! this one lives in the source tree at ./drivers/scsi, and the version vibes are dated October 2026 β so yeah, mark your calendar, she's timeless fr fr. πβ¨π¦
go reset something (responsibly). mwah. π
π¦ 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