scsi_report_device_reset(9)
π
scsi_report_device_reset(9) π
okay so bestie, welcome to the Kernel API Manual page for scsi_report_device_reset. This one is short, sweet, and very "tell the mid-layer what you just saw" energy. π«Ά
πΈ NAME πΈ
scsi_report_device_reset β report device reset observed
π οΈ SYNOPSIS π οΈ
void scsi_report_device_reset (struct Scsi_Host *shost , int channel ,
int target );
π ARGUMENTS π
shostβ the host in question, aka the host we're talking about πchannelβ the channel on which the reset was observedtargetβ the target on which the reset was observed
π DESCRIPTION π
This is a utility function that low-level drivers use to report that they have observed a device reset on the device being handled. like, "hey bestie, a reset happened over here" vibes. β¨
Lock status: Host lock must be held π
π RETURN π
Nothing β that's it, that's the return. literally nothing. π
π§ NOTES π§
You only actually need to call this if the reset is one which originates from an unknown location. Resets originated by the mid-level itself don't need to call this, but there should be no harm. π¦
The main purpose of this is to make sure that a CHECK_CONDITION is properly treated. so yeah, it's giving "small function, important job" energy. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/scsi/scsi_error.c
the whole squad:
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_ready_devs(9)scsi_eh_flush_done_q(9)scsi_unjam_host(9)scsi_error_handler(9)scsi_report_bus_reset(9)scsi_ioctl_reset(9)scsi_get_sense_info_fld(9)
mwah π that's the whole page, bestie. source/version: ./drivers/scsi, date: October 2026, page: scsi_report_device_reset(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