+10
−2
Loading
bdev_nvme_submit_request() calls bdev_nvme_get_buf_cb() directly when the buffer is already allocated. This is for performance improvement but will be helpful for the upcoming multipath feature to retry read I/O submission because buffer should be allocated only once. By reading the code a little more critically, bdev_nvme_submit_request() can call bdev_nvme_readv() directly in this case, and do in this patch. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I005c70deabf7fbfe84b7029e9ef103ae122605e1 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5558 Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>