iscsi_tcp_cleanup_task(9)
β¨ iscsi_tcp_cleanup_task π
okay so bestie, welcome to the Kernel API Manual page for iscsi_tcp_cleanup_task(9) β yes it's a section 9 manpage, yes it's kernel-internal, and yes we're gonna stan it anyway π«Ά
π NAME π
iscsi_tcp_cleanup_task β literally the function that frees your tcp_task resources π
πΈ SYNOPSIS πΈ
void iscsi_tcp_cleanup_task (struct iscsi_task *task );
no return value, no drama, she just cleans up and leaves π
π¦ ARGUMENTS π¦
taskβ the iscsi task, that's it, that's the whole argument π
π DESCRIPTION π
okay so the one thing you CANNOT skip, bestie: this must be called with session back_lock held. like, not optional, not a suggestion, it's giving "read the instructions or else" ππ
β SEE ALSO β
the whole friend group lives in the kernel file ./drivers/scsi/libiscsi_tcp.c β go say hi to:
iscsi_tcp_segment_init_sg(9)iscsi_tcp_segment_map(9)iscsi_tcp_segment_done(9)iscsi_tcp_segment_recv(9)iscsi_tcp_hdr_recv_prep(9)iscsi_tcp_data_in(9)iscsi_tcp_r2t_rsp(9)iscsi_tcp_hdr_dissect(9)iscsi_tcp_hdr_recv_done(9)iscsi_tcp_recv_segment_is_hdr(9)iscsi_tcp_recv_skb(9)iscsi_tcp_task_init(9)iscsi_tcp_task_xmit(9)
π§ lowkey reminder: back_lock first, cleanup second. do it in that order and you're slaying π
π that's the whole page, babe β source lives in ./drivers/scsi, dated October 2026, and it's filed under iscsi_tcp_cleanup_task(9) β¨ byeee, go hold that lock π«Άπ
π¦ 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