sapling/eden/fs/inodes
Chad Austin 5d98110a36 eden: move prefetch call from lookup to readdir
Summary:
We think that it shouldn't really be needed to perform
the prefetch call during lookup; for file inodes it doesn't buy
us much, and it should only really help for readdir.

This removes the prefetch call from lookup, instead prefetching
upon the first readdir() of a loaded TreeInode.

Reviewed By: simpkins

Differential Revision: D12896022

fbshipit-source-id: 0209eb64bd522daf5f7461dffccd1312d32a1554
2019-01-08 16:56:24 -08:00
..
test relax some of the checks in FuseTest.destroyWithInitRace() 2019-01-02 14:53:35 -08:00
CacheHint.h add CacheHint parameters to FileInode reads 2018-11-22 00:45:25 -08:00
CheckoutAction.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
CheckoutAction.h folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
CheckoutContext.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
CheckoutContext.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
CMakeLists.txt eden: add missing cmake for eden/fs/tracing 2018-12-15 19:11:05 -08:00
DeferredDiffEntry.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
DeferredDiffEntry.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
DiffContext.cpp DiffContext changes to use TopLevelIgnores 2018-07-19 17:21:38 -07:00
DiffContext.h DiffContext changes to use TopLevelIgnores 2018-07-19 17:21:38 -07:00
Differ.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
Differ.h update getScmStatus() to require the commit hash as an argument 2018-04-06 12:51:31 -07:00
DirEntry.cpp clarify DirEntry's ownership of InodeBase* 2018-07-17 21:37:35 -07:00
DirEntry.h eden: allow full width of mode_t in DirEntry on macos 2018-12-15 19:11:05 -08:00
EdenDispatcher.cpp eden: move prefetch call from lookup to readdir 2019-01-08 16:56:24 -08:00
EdenDispatcher.h remove FileHandleMap 2018-12-13 12:29:13 -08:00
EdenMount.cpp report the mount state in listMounts() 2019-01-02 12:58:08 -08:00
EdenMount.h relax some of the checks in FuseTest.destroyWithInitRace() 2019-01-02 14:53:35 -08:00
EdenMountError.h propagate bind mount errors 2018-10-09 16:39:45 -07:00
FileInode.cpp eden: move prefetch call from lookup to readdir 2019-01-08 16:56:24 -08:00
FileInode.h eden: move prefetch call from lookup to readdir 2019-01-08 16:56:24 -08:00
GlobNode.cpp convert some deprecated Future::then() calls 2018-10-23 13:42:12 -07:00
GlobNode.h move GlobNode -> inodes dir 2018-07-13 11:22:19 -07:00
InodeBase.cpp remove overlay timestamp migration logic 2018-11-28 15:44:58 -08:00
InodeBase.h eden: move prefetch call from lookup to readdir 2019-01-08 16:56:24 -08:00
InodeDiffCallback.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
InodeError.cpp folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
InodeError.h folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
InodeLoader.h convert some deprecated Future::then() calls 2018-10-22 20:27:25 -07:00
InodeMap.cpp Add command to chown a mount 2018-11-07 08:58:31 -08:00
InodeMap.h Add command to chown a mount 2018-11-07 08:58:31 -08:00
InodeMetadata.cpp allow changing uid/gid on files and directories 2018-05-24 00:15:54 -07:00
InodeMetadata.h allow changing permissions on directories 2018-05-22 11:22:19 -07:00
InodePtr-defs.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
InodePtr.cpp fix opt build 2018-03-12 22:22:59 -07:00
InodePtr.h add explicit conversion from std::unique_ptr to InodePtr 2018-03-09 13:37:08 -08:00
InodePtrFwd.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
InodeTable.h Add command to chown a mount 2018-11-07 08:58:31 -08:00
InodeTimestamps.cpp eden: add helper for accessing stat fields as timespecs 2018-12-16 18:31:46 -08:00
InodeTimestamps.h update mtime on directories when renaming 2018-06-01 11:39:01 -07:00
Overlay.cpp eden: no O_PATH on macos, adjust Overlay code 2018-12-15 19:11:05 -08:00
Overlay.h stop reading timestamps from the overlay 2018-11-26 11:59:25 -08:00
overlay.thrift decouple whether an entry has an inode number from materialization status 2018-03-23 18:21:21 -07:00
OverlayFileAccess.cpp introduce an OverlayFileAccess class with a handle cache 2018-12-12 17:10:29 -08:00
OverlayFileAccess.h introduce an OverlayFileAccess class with a handle cache 2018-12-12 17:10:29 -08:00
ParentInodeInfo.h Split Dir into its own type and move TreeInodeState out of TreeInode 2018-06-01 09:38:45 -07:00
ServerState.cpp Win: Porting eden/service to Windows with fb-thrift 2018-10-22 20:27:26 -07:00
ServerState.h pass ReloadableConfig down to HgBackingStore ctor 2018-10-31 11:50:38 -07:00
TopLevelIgnores.h Remove unused code for ingesting system and user ignore files 2018-07-30 19:06:33 -07:00
TreeInode.cpp eden: move prefetch call from lookup to readdir 2019-01-08 16:56:24 -08:00
TreeInode.h eden: move prefetch call from lookup to readdir 2019-01-08 16:56:24 -08:00