cd /news/developer-tools/the-rnull-rust-block-driver · home topics developer-tools article
[ARTICLE · art-114546] src=lwn.net ↗ pub= topic=developer-tools verified=true sentiment=· neutral

[$] The "rnull" Rust block driver

Andreas Hindborg has submitted a patch set to the Linux kernel implementing the 'rnull' Rust block driver, bringing it to feature parity with the C-based null_blk driver used for benchmarking block-layer implementations. The patch set, shared in June 2026, demonstrates that a simple block driver can now be written using the kernel's Rust APIs and enables direct performance comparisons between the C and Rust versions.

read1 min views1 publishedAug 28, 2026

The null block driver (null_blk) is a small driver that is mostly useful for benchmarking block-layer implementations. It accepts all requests and marks them complete as quickly as possible, doing as little work as possible. In June 2026, Andreas Hindborg shared

[
a patch set](https://lwn.net/ml/all/20260609-rnull-v6-19-rc5-send-v2-0-82c7404542e2@kernel.org/) implementing the same functionality in Rust, in order to show

that a simple block driver is now possible to write using the kernel's Rust APIs and to enable comparisons between the C and Rust implementations. A minimal version of the "rnull" driver is already present in the mainline kernel, but Hindborg's patch set brings it up to feature parity with the C version.

── more in #developer-tools 4 stories · sorted by recency
── more on @andreas hindborg 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-rnull-rust-block…] indexed:0 read:1min 2026-08-28 ·