sapling/eden/fs/store/test
Zeyi (Rice) Fan 2fad7731c1 introduce ImportPriority
Summary:
This diff introduces a `Priority` type for EdenFS. This type is used to pass along the priority of a request.

The priority class itself contains two parts, `kind` and `offset`. `kind` uses the first 4-bytes and the reset 12-bytes are used to store offset. The idea is that we can roughly assign a priority kind to most of the requests and offset is used to dynamically tweak the priority of some particular requests. For example, when we saw a process is generate millions of requests we can use this to express "normal priority but less important than other process's normal priority".

Reviewed By: chadaustin

Differential Revision: D20287652

fbshipit-source-id: 9a849fb6cc6ba5e443fea978d5b4dc3ab8ca906a
2020-03-17 02:31:22 -07:00
..
BlobAccessTest.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
BlobCacheTest.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt Enable getScmStatusBetweenRevisions 2019-12-10 14:07:26 -08:00
DiffTest.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
ImportPriorityTest.cpp introduce ImportPriority 2020-03-17 02:31:22 -07:00
LocalStoreTest.cpp stop storing sizes in their own local store column 2019-12-20 16:14:23 -08:00
LocalStoreTest.h restructure KeySpace and move it into KeySpace.h 2020-01-21 10:33:10 -08:00
ObjectStoreTest.cpp add an ObjectFetchContext interface 2020-02-05 13:15:01 -08:00
RocksDbLocalStoreTest.cpp log to scuba upon automatic gc 2019-12-10 16:16:35 -08:00