sapling/eden
Thomas Orozco 82991bd3fc mononoke/filestore: don't take a chunk when you need 0 bytes from it
Summary:
If you ask for a range starting at byte 3, and the chunks are of size 3, then
you don't actually need need the first chunk, but right now we'll fetch it
then extract zero bytes from it.

This is quite wasteful, and for LFS range fetches will be problematic since it
basically doubles the volume of stuff we need to keep in cache (we need both
chunks).

Reviewed By: farnz

Differential Revision: D27824411

fbshipit-source-id: 7103f5b4d5bb78f023245f3e8a1bcb0c2f28faab
2021-04-19 01:25:03 -07:00
..
fs privhelper: do not make macOS NFS mount SOFT 2021-04-16 17:55:20 -07:00
hg-server fix hg-server panic formatting 2021-04-15 06:20:25 -07:00
integration log session id on startup 2021-04-02 11:36:13 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke mononoke/filestore: don't take a chunk when you need 0 bytes from it 2021-04-19 01:25:03 -07:00
scm revisionstore: fix asking for chunks 1 more byte than configured 2021-04-19 01:25:03 -07:00
test_support test_support: fix rmtree error function 2021-04-08 19:00:42 -07:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml