{
  "slug": "bluefs",
  "term": "BlueFS",
  "aliases": [
    "Ceph BlueFS"
  ],
  "definition": "BlueFS is the specialized userspace filesystem that supplies RocksDB file storage within a BlueStore OSD.",
  "note": "BlueFS holds RocksDB files, while BlueStore places object payload on raw storage. In the SOSP 2019 design, BlueFS keeps file metadata in its own compacted journal and reconstructs it in memory at mount. That journal is distinct from a RocksDB WAL file stored through BlueFS. [sosp2019]\n\nSquid's BLUEFS_SPILLOVER warning means metadata has reached the slower primary device after filling the allocated DB space. It can impair performance without implying data corruption. Disabling the warning does not move the metadata back. [squid-health]\n\nFree capacity has separate meanings: BDEV_DB free and BDEV_SLOW free report space already held by BlueFS. available_from_bluestore reports capacity BlueStore can hand over. The latter can be smaller than BlueStore's total free space because BlueFS typically needs larger allocation units. A free-byte total alone does not establish metadata allocation headroom. [squid-health]",
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "related": [
    "bluestore",
    "rocksdb",
    "write-ahead-log",
    "compaction",
    "free-space-fragmentation"
  ],
  "citations": [
    {
      "id": "sosp2019",
      "title": "Aghayev et al. File Systems Unfit as Distributed Storage Backends: Lessons from 10 Years of Ceph Evolution. SOSP 2019, sections 4 and 6-7.",
      "url": "https://www.pdl.cmu.edu/PDL-FTP/Storage/ceph-exp-sosp19.pdf",
      "accessed": "2026-12-02"
    },
    {
      "id": "squid-health",
      "title": "Ceph Squid documentation: BLUEFS_SPILLOVER, BLUEFS_AVAILABLE_SPACE and BLUEFS_LOW_SPACE.",
      "url": "https://docs.ceph.com/en/squid/rados/operations/health-checks/",
      "accessed": "2026-12-02"
    }
  ],
  "provenance": [
    "The architecture paragraph describes the historical SOSP 2019 design. Operational warning names and space-accounting fields are scoped to the Squid documentation. [sosp2019] [squid-health]"
  ]
}
