Skip to content

bsg: add bsg_uring_cmd uapi structure#620

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

bsg: add bsg_uring_cmd uapi structure#620
blktests-ci[bot] wants to merge 3 commits intolinus-master_basefrom
series/1061637=>linus-master

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Mar 5, 2026

Pull request for series with
subject: bsg: add bsg_uring_cmd uapi structure
version: 6
url: https://patchwork.kernel.org/project/linux-block/list/?series=1061637

@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: ecc64d2
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061637
version: 6

@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: c107785
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061637
version: 6

@blktests-ci blktests-ci bot force-pushed the series/1061637=>linus-master branch from 24543f2 to 8ae53d1 Compare March 5, 2026 12:21
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from bbb3394 to 901a429 Compare March 5, 2026 21:37
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: 5ee8dbf
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061637
version: 6

@blktests-ci blktests-ci bot force-pushed the series/1061637=>linus-master branch from 8ae53d1 to 118fdb9 Compare March 5, 2026 21:38
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 901a429 to 1f19ba6 Compare March 10, 2026 06:29
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 10, 2026

Upstream branch: 1f318b9
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061637
version: 6

@blktests-ci blktests-ci bot force-pushed the series/1061637=>linus-master branch from 118fdb9 to 697831a Compare March 10, 2026 06:30
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 1f19ba6 to e79276a Compare March 11, 2026 08:02
Yang Xiuwei added 3 commits March 11, 2026 17:03
Add the bsg_uring_cmd structure to the BSG UAPI header to support
io_uring-based SCSI passthrough operations via IORING_OP_URING_CMD.

Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
Add an io_uring command handler to the generic BSG layer. The new
.uring_cmd file operation validates io_uring features and delegates
handling to a per-queue bsg_uring_cmd_fn callback.

Extend bsg_register_queue() so transport drivers can register both
sg_io and io_uring command handlers.

Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
Implement the SCSI-specific io_uring command handler for BSG using
struct bsg_uring_cmd.

The handler builds a SCSI request from the io_uring command, maps user
buffers (including fixed buffers), and completes asynchronously via a
request end_io callback and task_work. Completion returns a 32-bit
status and packed residual/sense information via CQE res and res2, and
supports IO_URING_F_NONBLOCK.

Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 11, 2026

Upstream branch: None
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061637
version: 6

@blktests-ci blktests-ci bot force-pushed the series/1061637=>linus-master branch from 697831a to e18ef29 Compare March 11, 2026 08:03
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.

0 participants