scsi_block_requests(9)
π NAME π
okay so bestie, welcome to scsi_block_requests(9) from the Kernel API Manual β¨. This is scsi_block_requests β a utility function that low-level drivers use to prevent further commands from being queued to the device. That's the whole assignment, no cap π.
πΈ SYNOPSIS πΈ
void scsi_block_requests (struct Scsi_Host *shost );
π¦ ARGUMENTS π¦
shostβ the host in question, bestie π.
π₯ DESCRIPTION π₯
okay so here's the tea β: there is no timer, and no other means by which the requests get unblocked, other than the low-level driver calling scsi_unblock_requests. Like... that's it. That's the whole escape route π
.
β οΈ bestie, listen: this is not a "set it and forget it" vibe. No timer is gonna swoop in and save you. The low-level driver has to call scsi_unblock_requests. periodt π«Ά.
π SEE ALSO π
Kernel file ./drivers/scsi/scsi_lib.c, plus the whole friend group:
__scsi_queue_insert(9)scsi_queue_insert(9)scsi_failures_reset_retries(9)scsi_check_passthrough(9)scsi_execute_cmd(9)scsi_run_queue(9)scsi_result_to_blk_status(9)scsi_rq_err_bytes(9)scsi_io_completion(9)scsi_alloc_sgtables(9)scsi_initialize_rq(9)scsi_alloc_request(9)scsi_dispatch_cmd(9)scsi_get_internal_cmd(9)scsi_put_internal_cmd(9)scsi_device_from_queue(9)scsi_unblock_requests(9)scsi_mode_select(9)scsi_mode_sense(9)scsi_test_unit_ready(9)scsi_device_set_state(9)scsi_evt_emit(9)scsi_evt_thread(9)sdev_evt_send(9)sdev_evt_alloc(9)sdev_evt_send_simple(9)scsi_device_quiesce(9)scsi_device_resume(9)scsi_internal_device_block_nowait(9)scsi_device_block(9)scsi_internal_device_unblock_nowait(9)scsi_internal_device_unblock(9)scsi_block_targets(9)scsi_host_block(9)scsi_kmap_atomic_sg(9)scsi_kunmap_atomic_sg(9)scsi_vpd_lun_id(9)scsi_vpd_lun_serial(9)scsi_vpd_tpg_id(9)scsi_build_sense(9)
mwah π that's the whole page, bestie. source/version: ./drivers/scsi Β· date: October 2026. go block those requests responsibly π«Άβ¨
π¦ 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