io_uring: add io_uring_cmd_import_fixed
authorAnuj Gupta <anuj20.g@samsung.com>
Fri, 30 Sep 2022 06:27:38 +0000 (11:57 +0530)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Sep 2022 13:49:11 +0000 (07:49 -0600)
commita9216fac3ed8819cbbda5d39dd5fcaa43dfd35d8
tree7fcfeafad737335ed0dedcd43375932aa7221a74
parent851eb780decb7180bcf09fad0035cba9aae669df
io_uring: add io_uring_cmd_import_fixed

This is a new helper that callers can use to obtain a bvec iterator for
the previously mapped buffer. This is preparatory work to enable
fixed-buffer support for io_uring_cmd.

Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Link: https://lore.kernel.org/r/20220930062749.152261-2-anuj20.g@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring.h
io_uring/uring_cmd.c