mar-file-system / marfs

MarFS provides a scalable near-POSIX file system by using one or more POSIX file systems as a scalable metadata component and one or more data stores (object, file, etc) as a scalable data component.
Other
96 stars 27 forks source link

Garbage Collection breaks when MarFS is compiled with USE_MDAL #148

Closed wfvining closed 8 years ago

wfvining commented 8 years ago

marfs_gc segfaults when MarFS is compiled with USE_MDAL. This is because the GC does not call expand_path_info and info->ns is not initialized.

wfvining commented 8 years ago

In addition to info->ns not being initialized, marfs_gc needs to call validate_configuration after read_configuration since this is where the MDAL structs and file_MDAL/dir_MDAL fields in the Namespace struct are initialized.

Fixed: 3735269