mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ublk: add parameter struct io_uring_cmd * to ublk_prep_auto_buf_reg()
[ Upstream commit3035b9b46b] 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> Stable-dep-of:c258f5c450("ublk: fix deadlock when reading partition table") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a4315e409a
commit
0f6f3cf11b
1 changed files with 7 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue