ata_eh_qc_retry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ata_eh_qc_retry β€” from the Kernel API Manual, aka ata_eh_qc_retry(9) β€” tells the midlayer to retry an ATA command after EH. πŸ’–

πŸ› οΈ SYNOPSIS πŸ› οΈ

void ata_eh_qc_retry (struct ata_queued_cmd *qc );

πŸŽ€ ARGUMENTS πŸŽ€

  • qc β€” command to retry. That's the whole assignment, bestie. 🫢

πŸ’… DESCRIPTION πŸ’…

Okay so picture this: you're telling the mid and upper layers that an ATA command should be retried. This is the function for that. It's meant to be used from EH. ✨

The SCSI midlayer limits the number of retries to scmd->allowed. And scmd->allowed is incremented for commands which get retried due to unrelated failures β€” that's when qc->err_mask is zero. 🫢

πŸ”— SEE ALSO πŸ”—

Kernel file: ./drivers/ata/libata-eh.c β€” and yes, the whole friend group is here:


okay that's the whole page, bestie πŸ’– the source/version is ./drivers/ata, the date is October 2026, and this iconic little manual page is ata_eh_qc_retry(9). slay. πŸŽ€

πŸ“¦ where this page comes from