sapling/eden/fs/inodes
Xavier Deguillard b2bfbe2300 inodes: make the fs refcount a flag on Windows
Summary:
On Windows, the refcount will be increased when a placeholder is written on
disk, and decremented when it is invalidated. Since the invalidation completely
clears the inode on disk, we need to make sure we don't keep an inode loaded
after it is invalidated. For that reason, let's just allow the refcount to be
either 0 or 1.

Reviewed By: chadaustin

Differential Revision: D24764567

fbshipit-source-id: 5d09fb9f53bf36d517d0bfb083107f176c33c2a7
2020-12-04 09:13:37 -08:00
..
overlay externally log result of fsck scans 2020-11-12 13:47:50 -08:00
sqliteoverlay Remove dead includes in eden 2020-10-09 15:25:47 -07:00
test inodes: make TraverseTest compile on Windows 2020-11-16 16:25:22 -08:00
CacheHint.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CheckoutAction.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
CheckoutAction.h Avoid overfetching in checkout 2020-11-03 10:58:22 -08:00
CheckoutContext.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
CheckoutContext.h logging for thrift object fetch: checkout 2020-07-26 23:09:40 -07:00
CMakeLists.txt move strace logging into FuseChannel 2020-10-20 09:34:03 -07:00
DeferredDiffEntry.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
DeferredDiffEntry.h add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DirEntry.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
DirEntry.h remove dependency on glog 2020-11-10 16:31:15 -08:00
EdenDispatcher.cpp inodes: rename the fuseRefcount in InodeMap 2020-11-16 09:03:18 -08:00
EdenDispatcher.h prjfs: make readdir asynchronous 2020-11-13 14:27:26 -08:00
EdenMount.cpp prjfs: thread notifications in PrjfsChannel 2020-12-03 10:45:30 -08:00
EdenMount.h prjfs: add partial support for debug processfetch on Windows 2020-10-05 15:46:02 -07:00
EdenMountError.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FileInode.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
FileInode.h Avoid overfetching in checkout 2020-11-03 10:58:22 -08:00
GlobNode.cpp return a better error message if something includes . or .. in their glob 2020-11-17 12:53:39 -08:00
GlobNode.h Allow specifying commits to match against and prefetch in globFiles 2020-10-29 13:34:06 -07:00
InodeBase.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
InodeBase.h inodes: make the fs refcount a flag on Windows 2020-12-04 09:13:37 -08:00
InodeError.cpp allow querying Overlay file size outside of FileInode 2020-10-23 11:16:10 -07:00
InodeError.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeLoader.h edenfs: change PathMap CaseSensitivity to runtime option 2020-09-18 08:43:14 -07:00
InodeMap.cpp inodes: make the fs refcount a flag on Windows 2020-12-04 09:13:37 -08:00
InodeMap.h inodes: rename the fuseRefcount in InodeMap 2020-11-16 09:03:18 -08:00
InodeMetadata.cpp fs: ifdef linux/macos only files 2020-09-23 12:20:41 -07:00
InodeMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeNumber.cpp inodes: move fuse/InodeNumber.{cpp,h} into inodes/ 2020-09-02 12:15:48 -07:00
InodeNumber.h remove dependency on glog 2020-11-10 16:31:15 -08:00
InodePtr-defs.h remove dependency on glog 2020-11-10 16:31:15 -08:00
InodePtr.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
InodePtr.h remove dependency on glog 2020-11-10 16:31:15 -08:00
InodePtrFwd.h Tidy up license headers 2019-10-11 05:28:23 -07:00
InodeTable.h remove dependency on glog 2020-11-10 16:31:15 -08:00
InodeTimestamps.cpp Inode support on Windows 2020-04-01 14:53:30 -07:00
InodeTimestamps.h Inode support on Windows 2020-04-01 14:53:30 -07:00
Overlay.cpp externally log result of fsck scans 2020-11-12 13:47:50 -08:00
Overlay.h externally log result of fsck scans 2020-11-12 13:47:50 -08:00
OverlayFile.cpp fs: ifdef linux/macos only files 2020-09-23 12:20:41 -07:00
OverlayFile.h fix flakiness in RawOverlayTest.closed_overlay_stress_test 2020-01-27 18:17:01 -08:00
OverlayFileAccess.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
OverlayFileAccess.h allow querying Overlay file size outside of FileInode 2020-10-23 11:16:10 -07:00
ParentInodeInfo.h Tidy up license headers 2019-10-11 05:28:23 -07:00
RequestContext.cpp remove dependency on glog 2020-11-10 16:31:15 -08:00
RequestContext.h fuse: move and rename RequestData 2020-09-04 16:14:24 -07:00
ServerState.cpp eden: fix Windows build 2020-05-04 11:53:33 -07:00
ServerState.h eden: fix Windows build 2020-05-04 11:53:33 -07:00
Traverse.cpp inodes: rename FUSE refcount to fs refcount 2020-11-04 17:34:01 -08:00
Traverse.h inodes: rename FUSE refcount to fs refcount 2020-11-04 17:34:01 -08:00
TreeInode.cpp inodes: re-order some cache invalidation 2020-11-19 21:59:44 -08:00
TreeInode.h prjfs: make readdir asynchronous 2020-11-13 14:27:26 -08:00
TreePrefetchLease.cpp limit the number of tree prefetch operations that can run in parallel 2019-12-20 16:14:19 -08:00
TreePrefetchLease.h fix one case of logging of null ClientPid 2020-08-31 10:05:02 -07:00