sas_ata_ncq_prio_supported(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sas_ata_ncq_prio_supported(9) ✨

okay bestie, welcome to the Kernel API Manual β€” this one's a lil function from the SCSI/SAS corner of the kernel and it's honestly so straightforward you're gonna eat it up πŸ“


πŸ’– NAME πŸ’–

sas_ata_ncq_prio_supported β€” literally just checks whether an ATA device supports NCQ command priority πŸŽ€


🌸 SYNOPSIS 🌸

bool sas_ata_ncq_prio_supported (struct scsi_device *sdev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • sdev β€” the SCSI device you're asking about, bestie 🫢

⭐ DESCRIPTION ⭐

So here's the vibe πŸ’… this function checks if an ATA device supports NCQ priority, and it does that by looking at VPD page 89h (ATA Information). iconic behavior, no cap.

And here's the important part, so listen up πŸ™ˆ since that VPD page is implemented only for ATA devices, this function always returns false for SCSI devices. like, always. every single time. not a bug, that's just the assignment πŸ’€


🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/scsi_transport_sas.c β€” plus the whole friend group right here, go say hi πŸ‘‹


and that's the whole page, periodt πŸ§šπŸ’œ this lil gem lives in ./drivers/scsi and the version/date stamp on it is October 2026 β€” remember it fondly, bestie, mwah πŸ’‹

πŸ“¦ where this page comes from