sas_ata_ncq_prio_supported(9)
β¨ 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 π
sas_remove_children(9)sas_remove_host(9)sas_get_address(9)sas_tlr_supported(9)sas_disable_tlr(9)sas_enable_tlr(9)sas_phy_alloc(9)sas_phy_add(9)sas_phy_free(9)sas_phy_delete(9)scsi_is_sas_phy(9)sas_port_alloc(9)sas_port_alloc_num(9)sas_port_add(9)sas_port_free(9)sas_port_delete(9)scsi_is_sas_port(9)sas_port_get_phy(9)sas_port_add_phy(9)sas_port_delete_phy(9)sas_rphy_initialize(9)sas_end_device_alloc(9)sas_expander_alloc(9)sas_rphy_add(9)sas_rphy_free(9)sas_rphy_delete(9)sas_rphy_unlink(9)sas_rphy_remove(9)scsi_is_sas_rphy(9)sas_attach_transport(9)sas_release_transport(9)
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
- 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