sata_pmp_qc_...r_cmd_switch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sata_pmp_qc_...r_cmd_switch(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes this is a real page, yes the title got cut off with ... in the middle, no we're not gonna fix it, that's just how it's printed, iykyk πŸŽ€


🌸 NAME 🌸

sata_pmp_qc_defer_cmd_switch β€” literally the qc_defer hook for command switching PMP. that's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

int sata_pmp_qc_defer_cmd_switch (struct ata_queued_cmd *qc );

πŸŽ€ ARGUMENTS πŸŽ€

  • qc β€” the ATA command in question πŸ‘€ like, the one we're deciding whether to hold back

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” a host that has command switching PMP support cannot issue commands to multiple links simultaneously. not "shouldn't", not "prefers not to" β€” cannot. it's giving one-at-a-time energy, fr fr 😭

LOCKING: spin_lock_irqsave(host lock) πŸ”’ β€” yes, that exact form, don't get cute with it


πŸ‘‘ RETURN πŸ‘‘

ATA_DEFER_* if deferring is needed, 0 otherwise. 🫢 that's the whole decision tree, slay


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/ata/libata-pmp.c β€” go read it, it's iconic πŸ’œ


and that's the page!! 🌈 mwah πŸ’‹ this one comes to you from ./drivers/ata, dated October 2026 β€” so like, future vibes only ⭐ go forth and defer responsibly, bestie πŸ§šβ€β™€οΈπŸ’…

πŸ“¦ where this page comes from