[PATCH] D97850: Fix PCM read from ModuleCache for ext4 filesystem
Ilya Kuteev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 5 06:13:41 PST 2021
ilyakuteev added a comment.
@teemperor 's test shows the problem correctly.
In my case I am working on a dist-compilation system (similar to distcc) for objective-c with `-fmodules`. Our previous generation used tmpfs for module cache and was ephemeral (Unique temp module cache per compilation). Now we want to move module cache to ext4 filesystem to make it actually cache modules across compilations. This bug is blocking us from doing this change, so I came up with this draft fix.
I think that removing inode cache for PCMs may be some kind of final solution. (For example we can make another `FileManager.getNoncacedFileRef` method).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97850/new/
https://reviews.llvm.org/D97850
More information about the cfe-commits
mailing list