mptscsih_abort(9)
β¨ mptscsih_abort(9) β¨
okay so real talk bestie, this is a page from the Kernel API Manual β yes, that Kernel API Manual β and it's about mptscsih_abort, which is the "Abort linux scsi_cmnd routine, new_eh variant". She's a little function with one job and honestly? She ate. π
π SYNOPSIS π
int mptscsih_abort (struct scsi_cmnd * SCpnt );
that's it. that's the whole signature. short, sweet, iconic π
πΈ ARGUMENTS πΈ
SCpntβ a pointer to thescsi_cmndstructure, aka the IO that we're trying to abort. like, this is the request that's getting the β¨cancel treatmentβ¨ π
π¦ DESCRIPTION π¦
okay so this bad girl is the linux scsi_host_template.eh_abort_handler routine β yep, you read that right, she's literally plugged straight into the eh_abort_handler slot of the host template. main character energy fr fr π
and what does she do?? she Returns SUCCESS or FAILED. that's the whole vibe check: it worked, or it didn't. no in-between, no "maybe", periodt π
ngl bestie, that's all the manpage gives us β two outcomes and a pointer. don't come for me, I'm just the messenger π«Ά
π SEE ALSO π
the kernel file in question is ./drivers/message/fusion/mptscsih.c, and here's the whole squad she rolls with β every single one, no gatekeeping:
mptscsih_info_scsiio(9)mptscsih_info(9)mptscsih_qcmd(9)mptscsih_IssueTaskMgmt(9)mptscsih_dev_reset(9)mptscsih_bus_reset(9)mptscsih_host_reset(9)mptscsih_taskmgmt_complete(9)mptscsih_get_scsi_lookup(9)mptscsih_getclear_scsi_lookup(9)mptscsih_set_scsi_lookup(9)SCPNT_TO_LOOKUP_IDX(9)mptscsih_get_completion_code(9)mptscsih_do_cmd(9)mptscsih_synchronize_cache(9)
like, that's a whole friend group and they're all in ./drivers/message/fusion together. iykyk π
and that's the page!! sourced straight from ./drivers/message/fusion and dated October 2026, so she's fresh β¨ bye bestie, go abort some IO responsibly π§π
π¦ 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