]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ublk: add parameter `struct io_uring_cmd *` to ublk_prep_auto_buf_reg()
authorMing Lei <ming.lei@redhat.com>
Fri, 21 Nov 2025 01:58:24 +0000 (09:58 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Nov 2025 16:20:13 +0000 (09:20 -0700)
commit3035b9b46b0611898babc0b96ede65790d3566f7
tree345afb749a48b9e452b35298d80b7cc0508184d5
parent9574b21e952256d4fa3c8797c94482a240992d18
ublk: add parameter `struct io_uring_cmd *` to ublk_prep_auto_buf_reg()

Add parameter `struct io_uring_cmd *` to ublk_prep_auto_buf_reg() and
prepare for reusing this helper for the coming UBLK_BATCH_IO feature,
which can fetch & commit one batch of io commands via single uring_cmd.

Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c