sapling/eden/fs/win
Xavier Deguillard ef4db32904 inodes: invalidate more on Windows
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
2020-08-03 11:26:31 -07:00
..
mount inodes: invalidate more on Windows 2020-08-03 11:26:31 -07:00
service unify the EdenMain code on Windows 2020-05-28 09:01:03 -07:00
utils win: remove unused getEnumerationEntries 2020-07-27 20:48:10 -07:00
CMakeLists.txt win: remove WinStore and fold it in EdenDispatcher 2020-07-14 00:02:44 -07:00
Edenwin.h Tidy up license headers 2019-10-11 05:28:23 -07:00