__iscsi_put_task(9)
π
__iscsi_put_task β drop the refcount on a task
okay so welcome to the Kernel API Manual bestie, today's episode is about __iscsi_put_task and honestly it's a short one but it's important, so pay attention π
β¨ NAME β¨
__iscsi_put_task β drop the refcount on a task
like literally just drops the refcount. that's the whole vibe. πΈ
π¦ SYNOPSIS π¦
void __iscsi_put_task (struct iscsi_task *task );
that's it, that's the signature, no cap π
π ARGUMENTS π
taskβ theiscsi_taskto drop the refcount on. yeah. that one. the task. π«Ά
π₯ DESCRIPTION π₯
okay so this is the part where you gotta listen, because the back_lock must be held when you call this. why? because it might free the task, and if you're not holding the lock while it goes poof, that's giving chaos energy and nobody wants that π
so like... hold the lock. fr fr. it's not a suggestion. πβ¨
π SEE ALSO π
all the other little functions living their best lives in the kernel file ./drivers/scsi/libiscsi.c:
iscsi_prep_data_out_pdu(9)iscsi_check_tmf_restrictions(9)iscsi_prep_scsi_cmd_pdu(9)iscsi_free_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_queue(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)
that's the whole friend group, go say hi π«Άπ
okay that's the page!! this one's from ./drivers/scsi, dated October 2026, and it's literally titled __iscsi_put_task(9) β slay, see you in the next one 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