iscsi_complete_scsi_task(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ iscsi_complete_scsi_task(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’… this one's a lil function from the kernel side of things and honestly she's doing a lot with very little. let's get into it 🫢


🌸 NAME 🌸

iscsi_complete_scsi_task β€” finish scsi task normally ✨ (yes that's the whole vibe, she just... finishes it. normally. no drama, no chaos, just closure πŸ’–)


πŸŽ€ SYNOPSIS πŸŽ€

void iscsi_complete_scsi_task (struct iscsi_task *task , uint32_t
exp_cmdsn , uint32_t max_cmdsn );

like, she returns void because she's not here to give you answers, she's here to complete a task 😌 periodt.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • task β€” the iscsi task for the scsi cmd 🎯 this is the lil guy you're wrapping up.
  • exp_cmdsn β€” the expected cmd sn, and it's in cpu format (not whatever endian nonsense, okay? cpu format, we been knew πŸ’…).
  • max_cmdsn β€” the max cmd sn, also in cpu format ⭐

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea πŸ“: this one is used when drivers do not need β€” or flat out cannot β€” perform lower level pdu processing. like, that's the whole use case, no cap.

she's called with session back_lock πŸ”’ don't forget that, bestie, that's important. lock discipline is main character energy πŸ‘‘

🌈 SEE ALSO 🌈

the whole friend group πŸ’– all of these live in the Kernel file ./drivers/scsi/libiscsi.c and honestly they're all icons:


and that's the whole page, bestie 🧚 no notes, she ate πŸ’…

this iconic lil doc came from ./drivers/scsi and is dated October 2026 πŸŽ€ catch you in the next manpage, mwah 🫢

πŸ“¦ where this page comes from