sd_done(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

hey bestie, welcome to sd_done(9) from the Kernel API Manual β€” it's literally the bottom half handler that gets called when the lower level driver has completed a scsi command, successfully or otherwise. slay. πŸ’…


✨ SYNOPSIS ✨

int sd_done (struct scsi_cmnd *SCpnt );

πŸŽ€ ARGUMENTS πŸŽ€

  • SCpnt β€” the mid-level's per command structure. that's the little command passport, bestie 🫢

πŸ’… NOTE πŸ’…

potentially run from within an ISR. Must not block.

so yeah: this can potentially run from within an ISR, and it must not block β€” no cap, do not block, periodt. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/scsi/sd.c β€” go peek, iykyk πŸ‘‘


xoxo, from the ./drivers/scsi source corner β€” October 2026, sd_done(9) edition πŸŽ€πŸ’–

πŸ“¦ where this page comes from