ublk_cmd.h: add one new ublk command: UBLK_IO_NEED_GET_DATA
authorZiyangZhang <ZiyangZhang@linux.alibaba.com>
Thu, 28 Jul 2022 12:39:15 +0000 (20:39 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Aug 2022 03:13:40 +0000 (21:13 -0600)
commit4e18403d9485a43e1b54397df258b8df7dac9a83
treec44c3a23c86831d8c4fe7020777753e2abb3ee67
parent4bf9cbf3e93426e9ebe136dabd6ca392ca92cfcb
ublk_cmd.h: add one new ublk command: UBLK_IO_NEED_GET_DATA

Add one new ublk command: UBLK_IO_NEED_GET_DATA. It is prepared for a new
feature designed for a user application who wants to allocate IO buffer
and set IO buffer address only after it receives an IO request from
ublksrv.

Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com>
Link: https://lore.kernel.org/r/c8a64b6b51c78340da7daa9e1054608695e79619.1659011443.git.ZiyangZhang@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/ublk_cmd.h