sd_done(9)
πΈ 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 π
sd_group_number(9)sd_open(9)sd_release(9)sd_ioctl(9)sd_check_events(9)sd_eh_reset(9)sd_eh_action(9)sd_read_block_provisioning(9)sd_read_cpr(9)sd_revalidate_disk(9)sd_unlock_native_capacity(9)sd_format_disk_name(9)sd_probe(9)sd_remove(9)init_sd(9)exit_sd(9)
xoxo, from the ./drivers/scsi source corner β October 2026, sd_done(9) edition ππ
π¦ 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