Re: [RFC PATCH 0/2] rust: block: add a borrowed blk-mq timeout callback

From: Andreas Hindborg

Date: Sat Apr 11 2026 - 06:30:06 EST


Hi Wenzhao,

"Wenzhao Liao" <wenzhaoliao@xxxxxxxxxx> writes:

> This small RFC series fills a missing blk-mq callback in the Rust block
> layer. Today, Rust block drivers cannot participate in request timeout
> handling because the Rust blk-mq vtable hardcodes `timeout: None`.

I already pointed you to [1] multiple times. Please make sure to read
that patch series. The functionality you are submitting is already
covered by that series.

If you really want to use your tokens to improve the kernel, I would
suggest adding boolean parameter support to the Rust module parameter
parser code.

Be sure to credit your LLM according to [2]. And please do instruct your
agents to find related discussion on the mailing list, so we avoid
solving the same problem over and over.

Best regards,
Andreas Hindborg


[1] https://lore.kernel.org/rust-for-linux/20260216-rnull-v6-19-rc5-send-v1-0-de9a7af4b469@xxxxxxxxxx/
[2] https://docs.kernel.org/process/coding-assistants.html