MaskRay added a comment. Can you try `posix_fallocate(fd, 0, len)` and see how it performs under memory pressure with btrfs+compression? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69294/new/ https://reviews.llvm.org/D69294