{
  "advantages": [
    {
      "text": "Sorted full path names are long and repetitive but compress well, by a factor of 20 in the first prototype, which keeps the space overhead of path keys manageable.",
      "citationIds": [
        "betrfs15"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Hard links break the assumption of one path per file, and the zoned design handled them by placing any file with more than one link in its own zone.",
      "citationIds": [
        "zoning"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-01",
  "slug": "full-path-indexing",
  "term": "Full-path indexing",
  "aliases": [
    "full path indexing"
  ],
  "status": "research",
  "definition": "Full-path indexing uses complete file paths as index keys, with subtree locality determined by the key ordering.",
  "note": "The FAST 2015 BetrFS schema maps each path to its metadata and each pair of path and block number to a 4096-byte block, sorted so that entries of one directory sit together and a recursive scan becomes a range query. [betrfs15] Scans of a directory subtree, such as a recursive grep, can then run near disk bandwidth, and a recursive delete becomes a single range-delete message. [fullpath]\n\nThe weak point is rename. With no indirection from name to data, renaming a directory changes the key of every descendant, and the first full-path prototype copied all data and metadata to new keys, taking 21.17 s to rename a Linux 3.11.10 source tree against 0.08 s on btrfs and 0.10 s on ext4. [betrfs15] Range rename with key lifting later made that work grow with tree height rather than subtree size. [fullpath]\n\nInode-style indirection makes renames cheap but lets file contents scatter as a filesystem ages. Zoning sits between the two designs by indexing paths relative to a zone root, with a default zone size of 512 KiB. [zoning] Returning to full paths with key lifting ran recursive grep 1.5 times and random writes 1.2 times faster than the zoned version. [fullpath]\n\nFull-path keys do not alone guarantee contiguous subtrees. TokuFS metadata sorts by directory depth before pathname: /a, /b, /a/x is a small counterexample, since /b separates /a from its descendant. Its data index uses a different order. State which index and comparator are meant before assuming a subtree is one scan range. [tokufs-slides]",
  "related": [
    "b-epsilon-tree",
    "range-rename",
    "tokufs"
  ],
  "citations": [
    {
      "id": "fullpath",
      "title": "Zhan et al. The Full Path to Full-Path Indexing. FAST 2018, pp. 123-138, sections 3-7.",
      "url": "https://www.usenix.org/system/files/conference/fast18/fast18-zhan.pdf",
      "accessed": "2026-10-22"
    },
    {
      "id": "hesela-fullpath",
      "title": "Full-path indexing: why renaming can move the index",
      "url": "https://hesela.com/analyses/full-path-indexing-range-rename/",
      "accessed": "2026-10-20"
    },
    {
      "id": "betrfs15",
      "title": "Jannen et al. BetrFS: A Right-Optimized Write-Optimized File System. USENIX FAST 2015, pp. 301-315, sections 4 and 7.",
      "url": "https://files.usenix.org/s3fs-public/cdn/fast15-paper-jannen_william.pdf",
      "accessed": "2026-10-22"
    },
    {
      "id": "zoning",
      "title": "Yuan et al. Optimizing Every Operation in a Write-optimized File System. USENIX FAST 2016, sections 3-4.",
      "url": "https://files.usenix.org/s3fs-public/cdn/fast16-papers-yuan.pdf",
      "accessed": "2026-10-22"
    },
    {
      "id": "tokufs-slides",
      "title": "TokuFS authors. HotStorage 2012 slides, pages 22-27: different metadata and data index orders.",
      "url": "https://www.usenix.org/sites/default/files/conference/protected-files/esmet_hotstorage12_slides.pdf",
      "accessed": "2026-12-01"
    }
  ],
  "provenance": [
    "fullpath, betrfs15 and zoning are peer-reviewed USENIX FAST papers from 2018, 2015 and 2016 by one research group, read in the schema, rename and evaluation sections.",
    "All timings are single-testbed measurements of research prototypes in those papers, not general filesystem figures.",
    "Status stays research because full-path indexing appears in these sources only in research prototypes."
  ]
}
