diff options
author | Florian Klink <flokli@flokli.de> | 2024-04-15T07·54+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-04-15T13·18+0000 |
commit | 2a47ad1d902c44f3986ef1fcd7770d73d54b0904 (patch) | |
tree | b9b65c74d335f03f835b25045e097f48f1344b62 /tvix/eval | |
parent | 3ed7eda79b53d5e03e32d7198508a356ee9af69e (diff) |
feat(tvix/castore/fs): implement opendir/releasedir r/7915
Similar to how we already handle opening files, implement opendir/ releasedir, and keep a map of dir_handles. They point to the rx side of a channel. This greatly improves performance listing the root of the filesystem when used inside tvix-store, as we don't need to re-request the listing (and skip to the desired position) all the time. Change-Id: I0d3ec4cb70a8792c5a1343439cf47d78d9cbb1d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11425 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval')
0 files changed, 0 insertions, 0 deletions