Skip to content

bsg: add io_uring command support for SCSI passthrough#616

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

bsg: add io_uring command support for SCSI passthrough#616
blktests-ci[bot] wants to merge 3 commits intolinus-master_basefrom
series/1061094=>linus-master

Conversation

@blktests-ci
Copy link

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

Pull request for series with
subject: bsg: add io_uring command support for SCSI passthrough
version: 5
url: https://patchwork.kernel.org/project/linux-block/list/?series=1061094

@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: 0031c06
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061094
version: 5

@blktests-ci blktests-ci bot force-pushed the series/1061094=>linus-master branch from 7cba6f6 to 44c6dff Compare March 4, 2026 09:43
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 6b51c57 to 78036b2 Compare March 4, 2026 19:57
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

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

@blktests-ci blktests-ci bot force-pushed the series/1061094=>linus-master branch from 44c6dff to e8ee77f Compare March 4, 2026 20:05
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 78036b2 to bbb3394 Compare March 5, 2026 12:20
@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=1061094
version: 5

@blktests-ci blktests-ci bot force-pushed the series/1061094=>linus-master branch from e8ee77f to f8801b5 Compare March 5, 2026 12:28
@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=1061094
version: 5

@blktests-ci blktests-ci bot force-pushed the series/1061094=>linus-master branch from f8801b5 to 71fd5f9 Compare March 5, 2026 21:45
@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=1061094
version: 5

@blktests-ci blktests-ci bot force-pushed the series/1061094=>linus-master branch from 71fd5f9 to 0da9022 Compare March 10, 2026 06:34
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 1f19ba6 to e79276a Compare March 11, 2026 08:02
@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=1061094
version: 5

@blktests-ci blktests-ci bot force-pushed the series/1061094=>linus-master branch from 0da9022 to 5337033 Compare March 11, 2026 08:08
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from e79276a to 0dd9afc Compare March 12, 2026 01:40
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 12, 2026

Upstream branch: 80234b5
series: https://patchwork.kernel.org/project/linux-block/list/?series=1061094
version: 5

@blktests-ci blktests-ci bot force-pushed the series/1061094=>linus-master branch from 5337033 to b4a3b63 Compare March 12, 2026 02:05
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 0dd9afc to 2e598ed Compare March 13, 2026 07:29
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 13, 2026

Upstream branch: 0257f64
series: https://patchwork.kernel.org/project/linux-block/list/?series=1065511
version: 7

@blktests-ci blktests-ci bot added V7 and removed V5 V5-ci-fail labels Mar 13, 2026
@blktests-ci blktests-ci bot force-pushed the series/1061094=>linus-master branch from b4a3b63 to ce095de Compare March 13, 2026 07:30
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch 2 times, most recently from 1b884bd to 3ff0536 Compare March 15, 2026 07:50
Yang Xiuwei added 2 commits March 15, 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>
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 15, 2026

Upstream branch: 0257f64
series: https://patchwork.kernel.org/project/linux-block/list/?series=1065511
version: 7

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 blktests-ci bot force-pushed the series/1061094=>linus-master branch from ce095de to 23edc06 Compare March 15, 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