Re: [RFC PATCH 0/2] rust: block: safely abstract the blk-mq poll callback
From: Andreas Hindborg
Date: Sat Apr 11 2026 - 06:34:33 EST
"Wenzhao Liao" <wenzhaoliao@xxxxxxxxxx> writes:
> Rust blk-mq drivers currently cannot implement the `blk_mq_ops->poll`
> callback: the Rust vtable hardcodes `poll: None`, and there is no safe
> way for a driver to receive the borrowed hardware queue context or the
> optional completion batch pointer that blk-mq passes to C drivers.
Again, this is covered by the series at [1]. Please instruct your AI agent
to read that thread before submitting more patches.
Best regards,
Andreas Hindborg
[1] https://lore.kernel.org/rust-for-linux/20260216-rnull-v6-19-rc5-send-v1-0-de9a7af4b469@xxxxxxxxxx/