sapling/eden
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
..
benchmarks Require callers to pass NetworkSocket to TAsyncSocket 2020-03-11 23:45:16 -07:00
cli --clean option for buck clean 2020-03-13 19:23:34 -07:00
docs documentation for paths 2020-01-17 12:08:42 -08:00
fs introduce ImportPriority 2020-03-17 02:31:22 -07:00
integration fix hg revert on conflicted file during conflict resolution 2020-03-16 18:35:20 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke unbreak the build of eden/mononoke/repo_client 2020-03-17 00:09:35 -07:00
py update the CLI to handle old EdenFS instances without getDaemonInfo() 2020-03-03 12:15:26 -08:00
scm treestate: make treestate a hard requirement 2020-03-16 18:39:52 -07:00
scripts Tidy up license headers 2019-10-11 05:28:23 -07:00
test_support eden: remove hypothesis test bits 2020-01-23 11:37:27 -08:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
third-party fix some macOS build warnings 2020-01-23 17:37:39 -08:00
win flip EDEN_WIN_NOMONONOKE to EDEN_HAVE_MONONOKE 2019-08-27 17:04:19 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00