Portable Fault-Tolerant File I/O

Igor B. Lyubashevskiy, Igor B. Lyubashevskiy · 1998

The ftIO system provides portable and fault-tolerant file I/O by enhancing the functionality of the ANSI C file system without changing its application programmer interface and without depending on system-specific implementations of the standard file operations. The ftIO-system is an extension of the porch compiler and its runtime system. The porch compiler automatically generates code to save the internal state of a program in a portable checkpoint. These portable checkpoints can be recovered on a binary incompatible architecture. The ftIO system ensures that the state of stable storage is recovered along with the internal state of a program. The porch compiler automatically generates code to save bookkeeping information about ftIO's transactional file operations in portable checkpoints. We developed a new algorithm for supporting transactional file operations based on a private-copy/copy-on-write approach. In this thesis, we discuss design choices for the ftIO system, describe our ...

Read the paper · More papers on PaperTik