engines/xnvme: allocate iovecs only if vectored I/O is enabled
authorAnkit Kumar <ankit.kumar@samsung.com>
Tue, 13 Feb 2024 15:33:11 +0000 (21:03 +0530)
committerVincent Fu <vincent.fu@samsung.com>
Tue, 13 Feb 2024 19:24:59 +0000 (14:24 -0500)
commit7f6a38693b8a695f5b6d4789341c1946f77ace24
treed3214a36ddc15a9ff1b9fb9f64d7bceb9aa922c7
parent119b7ce8e53226aa889cc243c08ec4892a5ec63b
engines/xnvme: allocate iovecs only if vectored I/O is enabled

Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20240213153315.134202-2-ankit.kumar@samsung.com
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
engines/xnvme.c