sapling/eden/fs
Stanislau Hlebik 71e1d6493e pass context to getOrLoadChild
Summary:
Scuba logging that tracks undesired file fetches has some blind spots i.e. a
lot of fetches have null pid and null cmd line. This diff tries to fix another
part of the problem.

TreeInode::getOrLoadChild() has TODO `pass a fetch context down through
getOrLoadChild to track this load`. This diff fixes this TODO, and also starts
to pass context from EdenDispatcher:lookup method.

Note that it adds quite a lot of new `ObjectFetchContext::getNullContext()`
calls, and potentially those might be responsible for blind spots in logging.
I'll try to address this problem in the next diffs.

Reviewed By: kmancini

Differential Revision: D23418218

fbshipit-source-id: 319d7436494d8dce3580289aae9963aa13bfc191
2020-08-31 10:05:02 -07:00
..
benchharness add 4k random writes benchmark 2020-07-14 16:13:37 -07:00
benchmarks add 4k random writes benchmark 2020-07-14 16:13:37 -07:00
cli mock kerberos checks in doctor tests 2020-08-31 07:51:17 -07:00
config utils: add a platform independent FileUtils 2020-08-14 18:56:33 -07:00
docs Some minor modifications to verbiage in documentation 2020-07-06 22:20:17 -07:00
fuse stop using RequestContext 2020-08-27 00:19:04 -07:00
inodes pass context to getOrLoadChild 2020-08-31 10:05:02 -07:00
journal Migrate to field_ref Thrift API 2020-07-28 14:32:44 -07:00
model model: report symlink/executable as regular files on Windows 2020-05-12 08:46:35 -07:00
monitor enable log rotation in edenfs_monitor 2020-05-07 20:05:46 -07:00
notifications eden: show desktop notification for blob/tree fetch errors 2020-02-10 08:28:49 -08:00
py fix eden thrift legacy dependencies 2020-08-31 07:55:27 -07:00
rocksdb Remove dead includes in eden 2019-10-11 16:45:01 -07:00
service run edenfsctl redirect fixup after mout is done 2020-08-24 21:38:12 -07:00
sqlite silence some msvc warnings from sqlite.{h,cpp} 2020-04-26 21:14:24 -07:00
store fix hg importer test regression 2020-08-27 09:44:37 -07:00
takeover Migrate to field_ref Thrift API 2020-07-21 11:23:35 -07:00
telemetry add fetch type to data fetch logging 2020-08-21 17:38:14 -07:00
testharness pass context to getOrLoadChild 2020-08-31 10:05:02 -07:00
third-party eden: support NO_OPEN support on macOS 2020-07-27 17:53:03 -07:00
utils stop using deprecated std::iterator 2020-08-26 17:08:05 -07:00
win Daily arc lint --take CLANGFORMAT 2020-08-26 13:47:00 -07:00
CMakeLists.txt revert: Run Eden as a Windows service 2020-05-28 09:01:03 -07:00