tvl-depot/tvix/castore/src
Florian Klink 2a47ad1d90 feat(tvix/castore/fs): implement opendir/releasedir
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
2024-04-15 13:18:36 +00:00
..
blobservice refactor(tvix/castore/blobservice/object_store): drop individual tests 2024-04-07 14:51:47 +00:00
directoryservice feat(tvix/*store/bigtable): limit retries connecting to cbtemulator 2024-04-13 12:01:00 +00:00
fs feat(tvix/castore/fs): implement opendir/releasedir 2024-04-15 13:18:36 +00:00
proto refactor(tvix/castore/*): drop utils.rs and grpc directorysvc tests 2024-03-28 07:58:10 +00:00
tests refactor(tvix/castore/*): drop utils.rs and grpc directorysvc tests 2024-03-28 07:58:10 +00:00
digests.rs feat(tvix/castore): impl Debug for B3Digest 2024-03-17 22:18:20 +00:00
errors.rs feat(tvix/castore): add rstest-based DirectoryService tests 2024-03-24 20:00:40 +00:00
fixtures.rs refactor(tvix): condense long bytestrings 2023-10-27 07:37:26 +00:00
hashing_reader.rs refactor(tvix/castore/hashing_reader): migrate to rstest 2024-04-07 14:51:47 +00:00
import.rs feat(tvix/castore/import): remove copying in find_ancestor 2024-04-13 13:20:29 +00:00
lib.rs refactor(tvix/castore/*): drop utils.rs and grpc directorysvc tests 2024-03-28 07:58:10 +00:00
tonic.rs refactor(tvix/castore/tonic): migrate to rstest 2024-04-07 14:51:47 +00:00