You are currently viewing Rust-Powered RAM Disks Move Closer to the Linux Kernel With New rbrd Driver

Rust-Powered RAM Disks Move Closer to the Linux Kernel With New rbrd Driver

  • Post published:
Rust-Powered RAM Disks Move Closer to the Linux Kernel With New rbrd Driver

Linux kernel developers have proposed a new RAM-backed block device driver written in Rust, expanding the language’s role in low-level storage infrastructure. Submitted on November 17, 2026, the patch series introduces rbrd, an experimental driver that stores block device data directly in system memory while using Rust’s safety model to address concurrency problems found in conventional implementations.

The proposal comes from developer Vitaly Wool and builds on the existing Rust null block driver, known as rnull. Unlike a null device that discards written data, rbrd provides actual storage by allocating memory pages when applications write to the device. It supports reading, writing, and discarding blocks, allowing it to behave like a conventional RAM disk through the Linux block layer.

One of the project’s most important design decisions is preventing simultaneous reads and writes to the same memory page. The existing C-based brd driver permits certain overlapping operations that can produce inconsistent reads, while the proposed Rust implementation serializes access to individual pages. The result is a different balance between performance and data consistency, demonstrating how Rust can influence the design of Linux kernel drivers.

The driver has not yet been merged into the mainline Linux kernel. Its initial submission is a three-patch RFC-style development proposal that introduces both the driver and additional Rust abstractions required to support real block I/O operations.

Linux Gains Another Experimental Rust Storage Driver

The Linux kernel has supported RAM-backed block devices for many years. These devices expose a region of system memory as a block storage device, allowing filesystems and applications to interact with RAM using interfaces normally associated with disks or solid-state drives.

A RAM disk can be formatted with a filesystem, mounted, and accessed through standard file operations. Because its contents reside in memory, it avoids the physical storage latency associated with conventional devices. However, the data is volatile and disappears when the device is destroyed or the system loses power.

Linux already provides the C-based brd driver for this purpose. The new rbrd implementation is not intended to introduce RAM disks as an entirely new capability. Instead, it demonstrates how the same general functionality can be implemented using Rust and the kernel’s developing Rust block-layer interfaces.