mptscsih_qcmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

mptscsih_qcmd β€” Primary Fusion MPT SCSI initiator IO start routine. πŸ’– Bestie, welcome to the mptscsih_qcmd(9) page in the Kernel API Manual. This is literally the main-character entry point for SCSI IO. No cap.

✨ SYNOPSIS ✨

enum scsi_qc_status mptscsih_qcmd (struct scsi_cmnd *SCpnt );

πŸŽ€ ARGUMENTS πŸŽ€

  • SCpnt β€” Pointer to scsi_cmnd structure. That's the lil request struct, and yes it's a pointer. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so first thing: this is the linux scsi_host_template.queuecommand routine β€” yes, that exact vibe. It's the primary SCSI IO start routine. πŸ’…

What it does is create a MPI SCSIIORequest from a linux scsi_cmnd request and send it to the IOC. Like, request goes in, MPI SCSIIORequest comes out, IOC gets it. Iconic. ✨

It returns 0. (the rtn value is discarded by the linux scsi mid-layer β€” so that return is lowkey just there for the plot 😭).

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/message/fusion/mptscsih.c


This page is from ./drivers/message/fusion, dated October 2026, and it's the mptscsih_qcmd(9) manual page. byeee bestie πŸ«ΆπŸ’…

πŸ“¦ where this page comes from