https://twitter.com/2btc10000pizzas/status/1303768424133398528

No idea what could be going on here :/
{
    LOCK(cs_dir_locks);
    dir_locks.erase((directory / lockfile_name).string());
}
void ReleaseDirectoryLocks()
{
    LOCK(cs_dir_locks);
    dir_locks.clear();
}
bool DirIsWritable(const fs::path& directory)
{
    fs::path tmpFile = directory / fs::unique_path();
    FILE* file = fsbridge::fopen(tmpFile, "a");
    if (!file) return false;
    fclose(file);
    remove(tmpFile);
    return true;
}
bool CheckDiskSpace(const fs::path& dir, uint64_t additional_bytes)