File systems unmounted using MNT_DETACH may become inconsistent
prp opened this issue · comments
We currently unmount the root file system using the MNT_DETACH
option, otherwise we sometimes observe hanging behaviour (despite the timeout):
Line 1276 in a1fb63f
We should check that this always cleanly unmounts the file systems and does not lead to data loss. It also not clear that the code correctly unmounts the entire file system hierarchy.
do we know if any tests hit this issue?
Does it need to be fixed by September? I am assuming not.
Didn't @jxyang report that he wrote to a file in the root file system, and this wasn't persisted across SGX-LKL restarts? We should add a CI test that checks that we are persisting root file system changes correctly.
anyone think this is not p2?