[PATCH] D39464: Define fs::allocate_file which preallocates disk blocks.

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 15:37:28 PST 2017


joerg added a comment.

I really dislike this direction. fallocate can double the amount of disk IO and increase cache trashing, especially when linking large programs with debug information. Keeping more things in memory doesn't sound like an actual improvement either. If the goal is really only to improve the diagnostics in tools, I think a better idea would be to figure out a good way to handle this from a SIGBUS handler based on the passed in siginfo_t.


https://reviews.llvm.org/D39464





More information about the llvm-commits mailing list