scsih_qcmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to scsih_qcmd(9) from the Kernel API Manual β€” it's literally the main scsi request entry point, and we're gonna get you comfy with it. πŸ‘‘βœ¨


🧚 SYNOPSIS 🧚

the signature is giving:

enum scsi_qc_status scsih_qcmd (struct Scsi_Host *shost , struct scsi_cmnd *scmd );

πŸŽ€ ARGUMENTS πŸŽ€

  • shost β€” SCSI host pointer. πŸ’…
  • scmd β€” pointer to scsi command object. 🫢

🌸 DESCRIPTION 🌸

The callback index is set inside ioc->scsi_io_cb_idx.

That's the whole description, no cap. ✨


πŸ”₯ RETURN πŸ”₯

0 on success β€” slay. If there's a failure, return either:

  • SCSI_MLQUEUE_DEVICE_BUSY β€” if the device queue is full. 😭
  • SCSI_MLQUEUE_HOST_BUSY β€” if the entire host queue is full. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/scsi/mpt3sas/mpt3sas_scsih.c β€” this page points you there, and then drops the entire reference squad. Every single one, because we don't gatekeep:


and that's the footer check, bestie: this page lives under ./drivers/scsi/mpt3sas, it's dated October 2026, and it's the scsih_qcmd(9) manual page. πŸ’…πŸ«Άβœ¨

πŸ“¦ where this page comes from