Skip to content

rust: block: safely abstract the blk-mq poll callback#734

Open
blktests-ci[bot] wants to merge 2 commits intolinus-master_basefrom
series/1079895=>linus-master
Open

rust: block: safely abstract the blk-mq poll callback#734
blktests-ci[bot] wants to merge 2 commits intolinus-master_basefrom
series/1079895=>linus-master

Conversation

@blktests-ci
Copy link
Copy Markdown

@blktests-ci blktests-ci Bot commented Apr 10, 2026

Pull request for series with
subject: rust: block: safely abstract the blk-mq poll callback
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1079895

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 10, 2026

Upstream branch: 9a9c8ce
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 13, 2026

Upstream branch: 028ef9c
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from fe31e19 to 0c32672 Compare April 13, 2026 06:23
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 8f17195 to 6b4d829 Compare April 14, 2026 06:46
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 14, 2026

Upstream branch: d60bc14
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from 0c32672 to aac046b Compare April 14, 2026 06:49
@kawasaki kawasaki closed this Apr 21, 2026
@blktests-ci blktests-ci Bot reopened this Apr 21, 2026
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 21, 2026

Upstream branch: b4e0758
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from aac046b to fed67db Compare April 21, 2026 07:04
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from ceec5ed to 3b54e52 Compare April 22, 2026 20:20
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 22, 2026

Upstream branch: 6596a02
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from fed67db to f2bf5f7 Compare April 22, 2026 20:28
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 3b54e52 to 6a0b974 Compare April 23, 2026 16:58
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 23, 2026

Upstream branch: 507bd4b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from f2bf5f7 to 4828c89 Compare April 23, 2026 17:07
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 6a0b974 to 59ca59b Compare April 24, 2026 00:56
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 24, 2026

Upstream branch: dd6c438
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from 4828c89 to 47d4530 Compare April 24, 2026 01:04
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch 2 times, most recently from 94f0438 to 857ada9 Compare April 24, 2026 07:54
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 24, 2026

Upstream branch: dd6c438
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from 47d4530 to 6bac353 Compare April 24, 2026 07:59
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 857ada9 to 482ce5b Compare April 29, 2026 02:21
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 29, 2026

Upstream branch: dca922e
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from 6bac353 to 0b2942f Compare April 29, 2026 02:40
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from 482ce5b to 5a9f7c7 Compare April 30, 2026 07:29
Add a minimal poll abstraction for Rust blk-mq drivers.

Model the hardware queue context as a shared HwCtx borrow and map the
optional io_comp_batch pointer to Option<&IoCompBatch>. This keeps the
callback on borrowed data owned by blk-mq and avoids exposing raw
pointers in driver implementations.

Use a typed PollResult to represent either a completion count or a
request to stop polling, and wire the callback into the blk-mq vtable
behind HAS_POLL so existing drivers keep poll: None.

Signed-off-by: Wenzhao Liao <[email protected]>
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented Apr 30, 2026

Upstream branch: e75a43c
series: https://patchwork.kernel.org/project/linux-block/list/?series=1079895
version: 1

Implement the new Operations::poll callback for rnull and return a
zero-completion PollResult.

This keeps rnull's current behavior unchanged while validating that the
borrowed poll abstraction wires cleanly into a Rust blk-mq driver.

Signed-off-by: Wenzhao Liao <[email protected]>
@blktests-ci blktests-ci Bot force-pushed the series/1079895=>linus-master branch from 0b2942f to 9ddc4cb Compare April 30, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants