{
  "slug": "posix-fadv-sequential",
  "term": "POSIX_FADV_SEQUENTIAL",
  "aliases": [
    "FADV_SEQUENTIAL"
  ],
  "definition": "POSIX_FADV_SEQUENTIAL is a file-access hint indicating that an application expects to read the specified data in increasing-offset order.",
  "note": "Linux documents a doubled backing-device readahead window for the advised handle, across the file rather than only the specified range. This is a policy budget, not a promise that twice as many bytes will be read or that throughput will double. [fadvise-api]\n\nLinux v6.14 generic_fadvise assigns twice the backing device's ra_pages and clears FMODE_RANDOM, but leaves FMODE_NOREUSE unchanged. NORMAL instead restores the device budget and clears both flags; it does not restore an arbitrary prior configuration. [fadvise-614]\n\nThese changes belong to the open file description shared by dup aliases. A separate open can have independent policy while using the same file cache. Filesystem overrides may differ. [fadvise-614] [open-description]",
  "advantages": [
    "Communicates expected access order while retaining buffered I/O."
  ],
  "limitations": [
    "Advice acceptance does not establish prefetch completion or a measured performance benefit."
  ],
  "related": [
    "posix-fadv-random",
    "posix-fadv-noreuse",
    "posix-fadv-willneed",
    "readahead",
    "open-file-description",
    "page-cache"
  ],
  "citations": [
    {
      "id": "fadvise-api",
      "title": "Linux man-pages: posix_fadvise(2), advice and Linux whole-file scope.",
      "url": "https://man7.org/linux/man-pages/man2/posix_fadvise.2.html",
      "accessed": "2026-10-23"
    },
    {
      "id": "fadvise-614",
      "title": "Linux v6.14 mm/fadvise.c: generic_fadvise policy transitions and overrides.",
      "url": "https://github.com/torvalds/linux/blob/v6.14/mm/fadvise.c",
      "accessed": "2026-10-23"
    },
    {
      "id": "open-description",
      "title": "Linux man-pages: open(2), open file descriptions and duplicated descriptors.",
      "url": "https://man7.org/linux/man-pages/man2/open.2.html",
      "accessed": "2026-10-23"
    }
  ],
  "status": "shipping",
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-23",
  "provenance": [
    "Source review of Linux v6.14 generic advice behavior; not a native experiment or benchmark."
  ]
}
