{
  "slug": "io-timeout",
  "term": "I/O timeout",
  "aliases": [
    "I/O command timeout"
  ],
  "definition": "An I/O timeout is expiration of a layer's waiting limit for an operation, which can trigger recovery without proving that the operation never executed.",
  "note": "Linux SCSI timeout handling can extend waiting or initiate abort and recovery. A timed-out command can still be active in lower layers, so timeout, cancellation and durable completion are different states. [scsi-eh]\n\nDevice-side error recovery control and command duration limits are distinct from a host waiting limit. An incident record should identify the timer's owner and retain the original request identity, final completion evidence, driver and protocol context before a retry is treated as safe. [hesela-timeouts]\n\nAn NVMe Abort request and its target command have separate results. Linux v6.12's PCI-driver Abort status log reports only the Abort request status; it is not evidence that the target was cancelled or its effects reversed. [linux-nvme-abort]\n\nFor POSIX AIO, an aio_suspend timeout leaves request completion separate. Preserve each original control block and use aio_error/aio_return to distinguish pending, canceled, successful and failed requests. [posix-suspend] [posix-return]",
  "related": [
    "scsi",
    "multipath-io",
    "no-path-retry",
    "retry-deduplication",
    "fail-slow",
    "error-recovery-control",
    "command-duration-limit",
    "metastable-failure",
    "retry-amplification",
    "retry-budget",
    "nvme-abort",
    "nvme-keep-alive",
    "nvme-command-quiesce-time",
    "posix-aio-cancellation",
    "remote-procedure-call",
    "omission-failure",
    "timing-failure",
    "tcp-retransmission-timeout"
  ],
  "citations": [
    {
      "id": "scsi-eh",
      "title": "Linux kernel documentation: SCSI EH, sections 1.2-1.4 and 2.1.",
      "url": "https://docs.kernel.org/scsi/scsi_eh.html",
      "accessed": "2026-10-11"
    },
    {
      "id": "hesela-timeouts",
      "title": "Storage timeouts: an expired timer is not a cancelled write",
      "url": "https://hesela.com/analyses/storage-timeouts-uncertain-completion/",
      "accessed": "2026-10-16"
    },
    {
      "id": "linux-nvme-abort",
      "title": "Linux v6.12: PCI NVMe abort_endio() and nvme_timeout().",
      "url": "https://raw.githubusercontent.com/torvalds/linux/v6.12/drivers/nvme/host/pci.c",
      "accessed": "2026-11-07"
    },
    {
      "id": "posix-return",
      "title": "POSIX.1-2024: aio_return, terminal status and one-time retrieval.",
      "url": "https://pubs.opengroup.org/onlinepubs/9799919799/functions/aio_return.html",
      "accessed": "2026-11-13"
    },
    {
      "id": "posix-suspend",
      "title": "POSIX.1-2024: aio_suspend, expired waits and EAGAIN.",
      "url": "https://pubs.opengroup.org/onlinepubs/9799919799/functions/aio_suspend.html",
      "accessed": "2026-11-13"
    }
  ],
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-20"
}
