Nov 13 – 15, 2023
America/New_York timezone

Block Layer Rust API

Nov 15, 2023, 4:40 PM
25m
"James River Salon B" (Omni Richmond Hotel)

"James River Salon B"

Omni Richmond Hotel

83
Rust MC Rust MC

Speaker

Mr Andreas Hindborg (Samsung)

Description

Rust for Linux has brought in Rust as a second programming language in the Linux
Kernel. The Rust for Linux project is making good progress towards building a
general framework for writing Linux kernel device drivers in safe Rust. The
block layer is still missing necessary plumbing to achieve this goal.

In this talk report on the work that we have done in the block layer to enable
Rust drivers. We showcase two drivers using the work: the Rust null_blk driver
and the Rust NVMe driver. We present results with performance analysis and we
discuss challenges we encountered during performance optimizations.

We also talk about the challenges we encounter while attempting to upstream the
Rust block layer API, and potential paths forward for the project.

Primary author

Mr Andreas Hindborg (Samsung)

Presentation materials

Diamond Sponsors
Platinum Sponsor
Gold Sponsors
Silver Sponsors
Catchbox Sponsor
Livestream Sponsors
T-Shirt Sponsor
Conference Services Provided by