News › linux

Rust rbrd proposal trades page-copy concurrency for data integrity

By The Linux Camp News, November 27, 2026

The proposed RAM-backed block driver accompanies new Rust block-I/O and page abstractions. It remains a patch submission, not a released replacement for brd.

Vitaly Wool’s three-patch rbrd submission proposes a Rust RAM-backed block driver alongside the abstractions it needs. The series targets rust-next based on Linux 7.4-rc3. It is review-stage work rather than evidence of an upstream release containing the driver. 1

Pages are stored in a flat array of atomic pointers, allowing lookup, insertion and removal without a lock. Data copies use a different rule: each holds the page’s bit spinlock, preventing a read and write from copying the same page simultaneously. Separating lookup from copy synchronization is central to the design. 1

The submitter explains that brd permits overlapping copies that can return a torn mix of old and new data. Such a race would also be undefined behavior in Rust. The proposed synchronization addresses that specific integrity issue; it should not be broadened into a claim that every aspect of the new driver is proven safe. 1

Evaluate the performance comparison under its stated conditions: 4 KiB random direct I/O in an eight-vCPU guest, averaged across nine runs. The author reports rbrd slower than brd, especially for writes. Those results do not establish the same overhead for other workloads or physical storage devices. 1

The performance gap had not yet been profiled, and the submitter explicitly declines to attribute all of it to locking. Preserve that uncertainty when explaining the cost. No independent benchmark reproduction was performed for this report. 1

Sources

Courses