homework: sync everything to disk before we rename LUKS loopback file into place
This how this works on Linux: when atomically creating a file we need to fully populate it under a temporary name and then when we are fully done, sync it and the directory it is contained in, before renaming it to the final name. (cherry picked from commit a2a8a509)
Loading
Please register or sign in to comment