File system is capable of performing long operations, such as deletions
and truncations of long files, in a deterministic and atomic manner with
regard to its recorded consistency points. The system includes both live
filespace accessible to users, and user-inaccessible zombie filespace. In
representative embodiments, the system includes a file deletion manager
and a truncation manager capable of operating on files in the zombie
filespace. Changes to the zombie filespace can be recorded in persistent
memory. After a power failure or a similar event, the system can use the
recorded changes to replay operations on the files in the zombie
filespace, facilitating recovery. Zombie space can be sized dynamically,
enabling the deletion manager to request enlargement of the zombie
filespace. In some embodiments, files are transferred to the zombie
filespace before links to the files' blocks in the live filespace are
broken, and before performing operations on the files.