mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
ef4db32904
Summary: Cache invalidation is hard, and on Windows we avoided doing a lot of them. It turns out, this was the wrong decision as it's fairly easy to find cases where the filesystem view is different from the manifest state. Since the Linux code is most likely correct in where the invalidation is done, let's also do the same on Windows, removing a whole lot of #ifdef. It is very likely that as a result of this diff we end up invalidating more than needed, thus slowing down EdenFS, but at this point I'd prefer to err on the side of correctness, performance will come later. While invalidating files should use PrjDeleteFile, for directories, we simply need to mark them as placeholder, as directories created by a user won't have a placeholder, thus ProjectedFS would bypass EdenFS when listing in. Reviewed By: chadaustin Differential Revision: D22833202 fbshipit-source-id: d807557f5e44279c49ab701b7a797253ef1f0717 |
||
---|---|---|
.. | ||
benchharness | ||
benchmarks | ||
cli | ||
config | ||
docs | ||
fuse | ||
inodes | ||
journal | ||
model | ||
monitor | ||
notifications | ||
py | ||
rocksdb | ||
service | ||
sqlite | ||
store | ||
takeover | ||
telemetry | ||
testharness | ||
third-party | ||
utils | ||
win | ||
CMakeLists.txt |