iscsi_suspend_queue(9)
okay so this is the Kernel API Manual page for iscsi_suspend_queue, and bestie, itβs giving βpause the queue, protect the vibe.β π
β¨
π NAME π
iscsi_suspend_queue β suspend iscsi_queuecommand
β¨ SYNOPSIS β¨
void iscsi_suspend_queue (struct iscsi_conn *conn );
π ARGUMENTS π
connβ the iscsi conn to stop queueing IO on π«Ά
π¦ DESCRIPTION π¦
okay so real talk: this grabs the session frwd_lock to make sure nobody is currently in xmit_task/queuecommand, and then it sets suspend to prevent new commands from being queued. no cap, thatβs the whole move. π₯
this only needs to be called by offload drivers that need to sync a path like ep disconnect with the iscsi_queuecommand/xmit_task. itβs a specific little sync situation, not a universal βcall me everywhereβ moment. π
to start IO again, libiscsi will call iscsi_start_tx and iscsi_unblock_session when in FFP. so yeah: suspend now, un-suspend later, the cycle is iconic. β
π SEE ALSO π
Kernel file: ./drivers/scsi/libiscsi.c
the whole friend group is here, and yes every single one made the list π:
iscsi_prep_data_out_pdu(9)iscsi_check_tmf_restrictions(9)iscsi_prep_scsi_cmd_pdu(9)iscsi_free_task(9)__iscsi_put_task(9)iscsi_complete_task(9)iscsi_complete_scsi_task(9)iscsi_alloc_mgmt_task(9)iscsi_send_mgmt_task(9)iscsi_scsi_cmd_rsp(9)iscsi_data_in_rsp(9)iscsi_nop_out_rsp(9)iscsi_itt_to_task(9)__iscsi_complete_pdu(9)iscsi_itt_to_ctask(9)iscsi_requeue_task(9)iscsi_data_xmit(9)iscsi_suspend_tx(9)iscsi_suspend_rx(9)iscsi_conn_unbind(9)iscsi_eh_session_reset(9)iscsi_eh_target_reset(9)iscsi_eh_recover_target(9)iscsi_host_add(9)iscsi_host_alloc(9)iscsi_host_remove(9)iscsi_session_setup(9)iscsi_session_free(9)iscsi_session_teardown(9)iscsi_conn_setup(9)iscsi_conn_teardown(9)
mwah π this lil page signs off from ./drivers/scsi, dated October 2026, and itβs iscsi_suspend_queue(9) foreverrr π«Άβ¨π
π¦ 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