Expand description
2026-09-25: Swap files for the --swap-space-gb spill of sequence state.
Callers write and read the file contents; this module creates, opens and
removes the swap_<id>.bin files in one directory and counts the bytes
recorded against a budget. has_space reports the budget; nothing here
enforces it.
Owner: cache. Invariants: file ids are handed out in increasing order from 0, so a manager never reuses one.
Structsยง
- KvSpill
Manager - 2026-09-25: The swap files of one directory and their recorded size.