iscsi_tcp_task_xmit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ iscsi_tcp_task_xmit(9) β€” the Kernel API Manual ✨

okay so bestie, welcome to the section 9 glow-up of iscsi_tcp_task_xmit πŸ’… this one lives in the Kernel API Manual and it's all about shipping a normal PDU task out the door. short page, but she's iconic in her own lowkey way πŸŽ€


🌸 NAME 🌸

iscsi_tcp_task_xmit β€” xmit normal PDU task πŸ’Œ

✨ SYNOPSIS ✨

int iscsi_tcp_task_xmit (struct iscsi_task *task );

like, that's the whole vibe. one function, one argument, one int coming back at you 🫢

🧚 ARGUMENTS 🧚

  • task β€” the iscsi command task. that's her. that's the one you're transmitting. main character energy fr fr πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜• β€” the caller is expecting certain things back from you, and ngl you have to deliver:

  • return 0 when everything was transmitted successfully βœ… slay, we love a clean finish
  • return -EAGAIN if there's still data sitting in the queue πŸ‘€ like, not done yet bestie, come back later
  • return != 0 for any other kind of error 😭 that's the catch-all "something went sideways" bucket
no cap, those return values are the whole contract β€” don't get cute with them πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the kernel file is ./drivers/scsi/libiscsi_tcp.c and honestly the whole friend group shows up here, so let's give them their moment 🌈:


and that's the page, bestie 🫢 she comes to you from ./drivers/scsi in the October 2026 era of the Kernel API Manual β€” go forth and transmit responsibly πŸ’œβœ¨

πŸ“¦ where this page comes from