roadmap

What the review read and ran

An appendix to the milestone.

The crate

partsfoundry/block_roster_contract at f0c199acc9cf2ca9e01c9350d3124aecf7994654, version 0.1.0-pre.3, a fresh clone of main. Its newest tag is v0.1.0-pre.3. The census of milestone 1129 (the combine review) counted the same commit. The lane read in full: Cargo.toml, README.md, CHANGELOG.md, src/lib.rs (820 lines, its tests and its five Kani harnesses included), docs/stranger-test.md, both fuzz targets, fuzz/Cargo.toml, .github/mutants-exempts, .github/accepted-words and the ci.yml and fuzz.yml callers.

The commands

Each command below ran in the clone on a Linux x86_64 host, with rustc 1.100.0 and a target directory in the lane's scratch area. git status --short showed the clone clean afterward.

The probe

A scratch program that depends on the clone by path printed:

Five more functions sat behind one feature each, and each failed to compile as P1-1 and P1-2 say:

The later items

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: "block device list", "block devices", "lsblk", "device roster", "boot info", "nvme", "disk enumeration", "shared page", "device inventory" and "sysfs block". No result publishes a page layout that lists drives. The results that list drives on a hosted system became the ranked crates. The lane also measured these at 22:53 (UTC) and set them aside:

crate version total 90 days reverse dependencies why set aside
lsblk 0.6.1 22,533 3,677 1 below the three ranked crates
sysinfo 0.40.4 257,767,773 66,525,056 2,346 lists mounted file systems among much else
uefi 0.41.0 3,025,847 726,559 31 a handle is the access path, which this crate refuses by design
bootloader_api 0.11.17 246,204 114,110 7 a boot page with no device list
multiboot2-common 0.7.0 772,796 240,458 not measured read with multiboot2, which depends on it

Only block-utils passes 10,000 downloads in 90 days among the crates that answer the same question, and it has no wire form. The lane therefore read two systems outside Rust as well.

The comparators read

The lane downloaded each .crate file from static.crates.io at the version the block's table gives and unpacked each in its own directory.

The systems outside Rust

The benchmark

A scratch crate depends on the clone by path and on zerocopy at =0.8.66 with its derive feature. It was built with cargo build --release, rustc 1.100.0, on a Linux x86_64 host (an Intel Xeon Platinum 8160 at 2.10 GHz, 80 threads).

The comparator declares Header { magic: U64, count: U32, capacity: U32 } and Entry { ordinal: U32, transport: U32 } with zerocopy's little-endian types. It takes the header with ref_from_prefix, makes the five checks Roster::read makes, and takes the counted entries with <[Entry]>::ref_from_prefix_with_elems. Both sides read a 4096-byte page that write filled with 3 or 510 devices, and the program asserts that both sums agree before it times them.

Each row runs a closure in a loop that starts at 64 repeats and doubles until one pass lasts 50 ms. Seven passes follow at that count, and the figure is the lowest pass divided by the count. std::hint::black_box wraps every input and every result. The read rows include the header checks. The sum rows add the transport and the ordinal of every device. The count rows count the devices of transport 1. The write row includes the header and every entry.

Two runs of the same binary, in nanoseconds per call:

operation 3 devices, run 1 run 2 510 devices, run 1 run 2
Roster::read 3.79 3.76 3.81 6.51
zerocopy, the same checks 3.84 3.64 3.72 3.86
Roster::read, then sum every device 6.17 5.90 189.21 192.04
zerocopy, the same sum 5.96 5.60 196.43 188.68
Roster::read, then count_by_transport 8.95 8.66 126.63 125.34
zerocopy, the same count 5.76 5.62 129.50 120.24
write 7.99 17.98 171.24 122.13

The block's table is run 1. The host ran other work, so a row moves between runs by more than the two sides differ. One difference repeats: at 3 devices count_by_transport takes about 3 ns longer than the hand-written count.

What the lane did not run