scsi_block_...ssing_errors(9)
π scsi_block_...ssing_errors(9) β from the Kernel API Manual, bestie β¨
okay so real talk, this one lives in the Kernel API Manual and the page name is scsi_block_...ssing_errors(9) (yes the title got truncated in the header, no we're not gonna fix it, it's iconic that way π).
β¨ NAME β¨
scsi_block_when_processing_errors β literally just Prevent cmds from being queued. π That's the whole vibe check. It blocks stuff. That's it. That's the function.
πΈ SYNOPSIS πΈ
int scsi_block_when_processing_errors (struct scsi_device *sdev );
periodt. one function, one arg, returns an int. clean. π
π¦ ARGUMENTS π¦
sdevβ thestruct scsi_device *we're doing recovery on. Like, Device on which we are performing recovery. she's the main character of this whole situation ngl π
π DESCRIPTION π
okay so here's the tea β: we block until the host is out of error recovery, and then we check whether the host or the device is offline. no cap, that's the whole flow. we wait, we peek, we report. π§
Return value: 0 when the dev was taken offline by error recovery π (rip bozo), and 1 when it's OK to proceed β
β go forth, queue your commands, slay.
ngl bestie, remember which one is which.0= the device got taken offline.1= you're good to go. do NOT flip them, I'm begging π
π SEE ALSO π
okay this list is long but every single one of these is a real one, so we're listing all of them, no skipping, no summarizing, we ate and left no crumbs π
This all lives in the Kernel file ./drivers/scsi/scsi_error.c, and it's also giving:
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_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_report_device_reset(9)scsi_ioctl_reset(9)scsi_get_sense_info_fld(9)
like I said. all of them. 43 entries, zero crumbs, we are so back ππ₯
π«Ά cute little sign-off π«Ά
this page came from the Kernel file in ./drivers/scsi, dated October 2026, and the man page name is (one more time, for the people in the back) scsi_block_...ssing_errors(9). go forth and don't queue commands while the host is mid-crisis, bestie πβ¨
π¦ 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