NVSL / linux-nova

NOVA is a log-structured file system designed for byte-addressable non-volatile memories, developed at the University of California, San Diego.
http://nvsl.ucsd.edu/index.php?path=projects/nova
Other
421 stars 118 forks source link

Fix mkdir crash consistency bugs #92

Closed hayley-leblanc closed 3 years ago

hayley-leblanc commented 3 years ago

This PR adds calls to nova_flush_buffer() to nova_free_inode_log() in log.c, nova_append_dir_init_entries() in dir.c, and nova_lite_transaction_for_new_inode() in namei.c to address the crash consistency bugs described in issue #91.

Andiry commented 3 years ago

Thanks!