iscsi_block_scsi_eh(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iscsi_block_scsi_eh β€” a page from the Kernel API Manual

okay so bestie, welcome to iscsi_block_scsi_eh(9), which is genuinely one of those tiny functions that carries a lot of weight. She's got exactly one job and she does it, periodt. Let's get into it πŸŽ€


✨ NAME ✨

iscsi_block_scsi_eh β€” block scsi eh until session state has transistioned

(yes, that's the spelling in the original, and no, we are not fixing it β€” she's iconic as-is πŸ’…)


🌸 SYNOPSIS 🌸

int iscsi_block_scsi_eh (struct scsi_cmnd *cmd );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmd β€” the scsi cmd that got passed to the scsi eh handler. that's it, that's the whole argument list, we love a low-maintenance queen 🫢

πŸ’– DESCRIPTION πŸ’–

here's the vibe check: if the session is down, this function is gonna sit there and wait. wait for what, you ask? two possibilities, and she's not picky:

  • the recovery timer fires, or
  • the session gets logged back in πŸ”₯

and if the recovery timer is the thing that fires first, then FAST_IO_FAIL is what gets returned. lowkey important: the caller should pass this error value to the scsi eh. like, that's the whole point of handing it back, okay? don't just pocket it and walk away 😭

fr fr, FAST_IO_FAIL is the message β€” deliver it to the scsi eh handler like it's a group chat screenshot that NEEDS to be seen πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file we're living in: ./drivers/scsi/scsi_transport_iscsi.c

and the whole friend group, in the order they appear:


and that's the page!! 🧚 this gorgeous little number lives over in ./drivers/scsi, dated October 2026, and it answers to the name iscsi_block_scsi_eh(9) β€” go say hi, she's been waiting for you bestie πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from