• [$] The "rnull" Rust block driver

    From LWN.net@1337:1/100 to All on Fri Aug 28 19:30:06 2026
    [$] The "rnull" Rust block driver

    Date:
    Fri, 28 Aug 2026 18:26:23 +0000

    Description:
    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 June2026, Andreas Hindborg shared a patch set 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.

    ======================================================================
    Link to news story:
    https://lwn.net/Articles/1090378/


    --- Mystic BBS v1.12 A49 (Linux/64)
    * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)