NOVA is a log-structured file system designed for byte-addressable non-volatile memories, developed at the University of California, San Diego.
422
stars
118
forks
source link
Failed checksum checking for nova_range_node #137
Closed
iaoing closed 2 years ago
Issue:
Mismatched checksum for nova_range_node when enabling dram_struct_csum. After mounting NOVA, the
dmesg
command can show the error message.Reason:
Forget to update the checksum of the range node after modifications:
nova_insert_dir_tree
https://github.com/NVSL/linux-nova/blob/b817ca322e6fc61f532174e7effc4b6c81528e3f/fs/nova/dir.c#L63-L65nova_gc_assign_dentry
https://github.com/NVSL/linux-nova/blob/b817ca322e6fc61f532174e7effc4b6c81528e3f/fs/nova/gc.c#L199-L204Fix:
nova_insert_dir_tree
nova_gc_assign_dentry