sapling/eden/fs/store
Zeyi (Rice) Fan ae0d08f884 record backing store import in RequestData
Summary:
Previously we check if a request is a fuse request when we fetch anything from backing store, so we can collect number of fetches happened for each process in eden top.

This is creating a dependency from store to fuse, which is a little awkward. Instead, we could make `RequestData` a `ObjectFetchContext` and record the fetches when that happens.

Similarly in the future we should also have something equivalent in our Thrift layer.

Reviewed By: kmancini

Differential Revision: D21775919

fbshipit-source-id: 95056830ddbe7c999051c43e0d8eca9a67350904
2020-06-18 10:40:40 -07:00
..
git use enumValue instead of static_cast<int> 2020-04-28 18:59:34 -07:00
hg batch imports blobs from Rust stores from EdenAPI 2020-06-10 19:29:25 -07:00
test model: report symlink/executable as regular files on Windows 2020-05-12 08:46:35 -07:00
BackingStore.h implement prefetch for HgQueuedBackingStore 2020-04-06 19:12:42 -07:00
BlobAccess.cpp fix gcc compilation issues 2020-05-20 15:49:02 -07:00
BlobAccess.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
BlobCache.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
BlobCache.h Tidy up license headers 2019-10-11 05:28:23 -07:00
BlobMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt remove Mononoke usage in HgBackingStore 2020-05-05 20:59:02 -07:00
Diff.cpp Rename collectXSemiFuture to collectX 2020-04-03 17:15:08 -07:00
Diff.h add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
DiffContext.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
DiffContext.h count fetch statistics during diff and checkout 2020-02-05 16:05:29 -08:00
eden_store_util.cpp move UserInfo to eden/fs/utils/ 2020-04-29 17:21:12 -07:00
EmptyBackingStore.cpp add priority to BackingStore interface 2020-03-17 02:31:23 -07:00
EmptyBackingStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
ImportPriority.h implement prefetch for HgQueuedBackingStore 2020-04-06 19:12:42 -07:00
IObjectStore.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
IObjectStore.h eden: fix multiply defined symbols issue with ImportPriority 2020-03-20 10:56:08 -07:00
KeySpace.cpp eden: fix compilation on latest vs2017 2020-05-06 15:05:37 -07:00
KeySpace.h allow garbage collection of cached tree objects again 2020-01-23 17:33:43 -08:00
LocalStore.cpp add independent cache size limits per object type 2020-01-21 19:41:47 -08:00
LocalStore.h clear the deprecated blobsize keyspace at startup 2020-01-21 10:33:11 -08:00
MemoryLocalStore.cpp restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
MemoryLocalStore.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
ObjectStore.cpp record backing store import in RequestData 2020-06-18 10:40:40 -07:00
ObjectStore.h record backing store import in RequestData 2020-06-18 10:40:40 -07:00
RocksDbLocalStore.cpp collectX to collectUnsafe 2020-03-10 11:36:09 -07:00
RocksDbLocalStore.h add independent cache size limits per object type 2020-01-21 19:41:47 -08:00
ScmStatusDiffCallback.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
ScmStatusDiffCallback.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SerializedBlobMetadata.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
SerializedBlobMetadata.h Tidy up license headers 2019-10-11 05:28:23 -07:00
SqliteLocalStore.cpp clear the deprecated blobsize keyspace at startup 2020-01-21 10:33:11 -08:00
SqliteLocalStore.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
StatsFetchContext.cpp log checkout type and fetch counts to scuba 2020-02-05 16:05:30 -08:00
StatsFetchContext.h log checkout type and fetch counts to scuba 2020-02-05 16:05:30 -08:00
StoreResult.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
StoreResult.h Tidy up license headers 2019-10-11 05:28:23 -07:00