bsg: add io_uring command support for SCSI passthrough#616
bsg: add io_uring command support for SCSI passthrough#616blktests-ci[bot] wants to merge 3 commits intolinus-master_basefrom
Conversation
d0e1bed to
6b51c57
Compare
|
Upstream branch: 0031c06 |
7cba6f6 to
44c6dff
Compare
6b51c57 to
78036b2
Compare
|
Upstream branch: ecc64d2 |
44c6dff to
e8ee77f
Compare
78036b2 to
bbb3394
Compare
|
Upstream branch: c107785 |
e8ee77f to
f8801b5
Compare
bbb3394 to
901a429
Compare
|
Upstream branch: 5ee8dbf |
f8801b5 to
71fd5f9
Compare
901a429 to
1f19ba6
Compare
|
Upstream branch: 1f318b9 |
71fd5f9 to
0da9022
Compare
1f19ba6 to
e79276a
Compare
|
Upstream branch: None |
0da9022 to
5337033
Compare
e79276a to
0dd9afc
Compare
|
Upstream branch: 80234b5 |
5337033 to
b4a3b63
Compare
0dd9afc to
2e598ed
Compare
|
Upstream branch: 0257f64 |
b4a3b63 to
ce095de
Compare
1b884bd to
3ff0536
Compare
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>
|
Upstream branch: 0257f64 |
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>
ce095de to
23edc06
Compare
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