roadmap

What the review read and ran

An appendix to the milestone.

The crate

partsfoundry/file_system_contract at 05515061699d24510ddffa7ef561c9f344227333, version 0.1.0, no tag, a fresh clone of main. The census of milestone 1129 (the combine review) counted it at the same commit. The repository is a workspace of two crates. The review covers file_system_contract/; of file_system_fixture/ the lane read the head of the manifest and of the README, which say the crate is test data and never publishes.

The lane read in full: the root Cargo.toml and README.md, and in the crate Cargo.toml, README.md, CHANGELOG.md and eleven source files: lib.rs, error.rs, block.rs, file_system.rs, directory.rs, directory_entry.rs, volume_statistics.rs, nameset.rs, verb.rs, grant.rs and extended_attribute.rs. It read the first three harnesses of proofs.rs and the names of the other seven, the head of .github/mutants-exempts, the last line of docs/stranger-test.md and the names of the five fuzz targets. It read no test file.

The commands

The lane ran each command on a Linux x86_64 host with rustc 1.100.0 and kept every build's output in a CARGO_TARGET_DIR beside the clone, never in it. The clone's git status --short was empty at the end. The first four commands ran at the workspace root.

A scratch program that depends on the crate by path printed, in a release build:

The contract layout, item by item

In the crate's spellings, for the contract-layout decision of milestone 1129:

The search for a comparator

On 2026-11-26 (UTC), https://crates.io/api/v1/crates?q=<words>&sort=recent-downloads&per_page=8 for each of: "9p protocol", "fuse protocol", "filesystem protocol no_std", "file server protocol", "block device trait", "virtio blk", "capability filesystem" and "nfs protocol". The lane also measured by name fuser, p9, rs9p, ninep, nine, fuse-backend-rs, polyfuse, fuse3, nfsserve, russh-sftp, cap-std, virtio-drivers, embedded-sdmmc, embedded-storage, block_device, zerocopy, vhost-user-backend and wasi.

Five crates publish the messages of a file service and draw more than 10,000 downloads in 90 days: russh-sftp (2,586,407), fuser (2,222,734), fuse-backend-rs (1,538,329), nfsserve (1,041,355) and p9 (61,504). The first three rank. The lane read p9 as well, because 9P is the nearest protocol in shape: handles a server checks, a walk by name, and no path from a global root. rs9p 0.13.0 (220), ninep 0.6.0 (1,130) and nine 0.5.0 (220) fall under the floor. No crate found puts rights on a handle.

The comparators read

The six crates are the .crate files static.crates.io serves for the versions in the block's table, each unpacked alone in an empty directory.

The systems outside Rust

Each file came from a public mirror at the named commit.

The benchmark

A scratch crate outside the clone depends on file_system_contract by path and russh-sftp at =4.0.0, with bytes 1.12.2, serde 1.0.229 and tokio 1.54.1 resolved. The command is cargo build --release and then the binary. The host is Linux x86_64, an Intel Xeon Platinum 8160 at 2.10 GHz with 80 threads, rustc 1.100.0. The benchmark runs on one thread.

Each measurement starts at 64 calls and doubles the count until one pass lasts 50 ms. It then runs seven passes and reports the lowest, divided by the count. black_box wraps the input buffer and the sum of the results. The input is 100 names of 12 bytes, file-0000000 to file-0000099.

measurement what a call includes run 1 run 2
directory_entry::iter a walk of 1,400 bytes that sums each name's length and flag 204 ns 215 ns
Packet::try_from(&mut Bytes) a clone of the Bytes handle, the decode of one Name of 2,409 bytes into a Vec of 100 File, the same sum, and the drop 13,904 ns 13,711 ns
directory_entry::encode, 100 times the fill of a zeroed 4,096-byte array 918 ns 609 ns
Bytes::try_from(Packet::Name) 100 String clones, the Vec, the encode into 2,413 bytes, and the drop 9,580 ns 6,773 ns

The block's table gives run 1. Each SFTP file carries an empty long name and an attribute record with no field set, the smallest the message allows. The two write rows moved by a third between runs, and the lane did not find why.

A second scratch crate, on the crate alone, with the same loop:

measurement run 1 run 2
file_system::request, then the three field readers 2.26 ns 2.56 ns
verb::of, then two fields 3.16 ns 3.30 ns
error::code 2.91 ns 3.46 ns
store::get, the last of 16 attributes with 20-byte names and 60-byte values 83 ns 86 ns
store::set, replacing that attribute 227 ns 241 ns

The lane ran no comparison with fuser 0.19.0 or p9 0.3.2: fuser keeps ll::fuse_abi pub(crate), and p9 keeps protocol private, so no outside crate can call either decoder.

What the lane did not run