ata_internal_cmd_timed_out(9)
π ata_internal_cmd_timed_out β Kernel API Manual
okay so bestie, this one's a little libata β¨notificationβ¨ function, and it lives in the kernel API manual. She's not doing the heavy lifting herself β she's the messenger. The way that she just tells EH "hey girl, your thing timed out" and dips? Iconic. π
β¨ NAME β¨
ata_internal_cmd_timed_out β the notification you send when an internal command times out π°οΈπ
π¦ SYNOPSIS π¦
void ata_internal_cmd_timed_out (struct ata_device *dev , u8 cmd );
πΈ ARGUMENTS πΈ
devβ the target device π the one we're talking about herecmdβ the internal command that timed out π the actual culprit
π DESCRIPTION π
So basically, this function notifies EH that the internal command cmd for dev timed out. That's it, that's the whole job π«Ά she's a notifier, not a problem-solver, know the difference.
β οΈ Important vibe check: only call this function for commands whose timeouts are determined using ata_internal_cmd_timeout. Not your random commands, not your cousin's commands β only those ones. no cap. π
π LOCKING: EH context. that's the vibe, don't fight it.
π SEE ALSO π
Kernel file ./drivers/ata/libata-eh.c β plus literally the whole extended friend group π
:
__ata_ehi_push_desc(9), ata_ehi_push_desc(9), ata_ehi_clear_desc(9), ata_port_desc(9), ata_port_pbar_desc(9), ata_internal_cmd_timeout(9), ata_eh_acquire(9), ata_eh_release(9), ata_scsi_error(9), ata_scsi_cmd_error_handler(9), ata_scsi_port_error_handler(9), ata_port_wait_eh(9), ata_eh_set_pending(9), ata_qc_schedule_eh(9), ata_std_sched_eh(9), ata_std_end_eh(9), ata_port_schedule_eh(9), ata_link_abort(9), ata_port_abort(9), __ata_port_freeze(9), ata_port_freeze(9), ata_eh_freeze_port(9), ata_eh_thaw_port(9), ata_eh_qc_complete(9), ata_eh_qc_retry(9), ata_dev_disable(9), ata_eh_detach_dev(9), ata_eh_about_to_do(9), ata_eh_done(9), ata_err_string(9), atapi_eh_tur(9), ata_eh_decide_disposition(9), ata_eh_request_sense(9), atapi_eh_request_sense(9), ata_eh_analyze_serror(9), ata_eh_analyze_tf(9), ata_eh_speed_down_verdict(9), ata_eh_speed_down(9), ata_eh_worth_retry(9), ata_eh_quiet(9), ata_eh_link_set_lpm(9), ata_eh_link_autopsy(9), ata_eh_autopsy(9), ata_get_cmd_name(9), ata_eh_link_report(9), ata_eh_report(9), ata_eh_set_mode(9), atapi_eh_clear_ua(9), ata_eh_maybe_retry_flush(9), ata_eh_recover(9), ata_eh_finish(9), ata_std_error_handler(9), ata_eh_handle_port_suspend(9), ata_eh_handle_port_resume(9)
anywayyy that's the page π this lil cutie comes from ./drivers/ata, dated October 2026, and it's filed under the Kernel API Manual as ata_internal_cmd_timed_out(9). go off, queen π§β¨
π¦ 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