As of now, if system or lcfs crashes, the whole file system is wiped off (not when lcfs is cleanly unmounted).
Implement a scheme such that file system is intact even across abnormal shutdowns. A checkpointing scheme may be preferred over a journaling scheme.
LCFS now uses a background thread to create checkpoints of the file system. After an abnormal shutdown, it will restart from the last checkpoint present.
As of now, if system or lcfs crashes, the whole file system is wiped off (not when lcfs is cleanly unmounted). Implement a scheme such that file system is intact even across abnormal shutdowns. A checkpointing scheme may be preferred over a journaling scheme.