mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
2fad7731c1
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 |
||
---|---|---|
.. | ||
benchmarks | ||
cli | ||
docs | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
py | ||
scm | ||
scripts | ||
test_support | ||
test-data | ||
third-party | ||
win | ||
.gitignore | ||
Eden.project.toml |