Spdk/module/bdev/nvme
Ben Walker 3870092dd1 bdev/nvme: For reads, if there is only one element in the iov don't use
readv API

It's cheaper to call spdk_nvme_ns_cmd_read_with_md than it is to call
spdk_nvme_ns_cmd_readv_with_md, so do a quick check of the iovcnt and
use the best one for the job.

This is about a 15% improvement in I/Ops.

Change-Id: I82e6677d1ac47abf9919f95e651e7a7595c5e9a3
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4316
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-09-22 11:41:30 +00:00
..
bdev_nvme_cuse_rpc.c module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
bdev_nvme_rpc.c module/bdev_rpc: modify detach_ctrlr rpc to accept trid. 2020-08-11 08:29:14 +00:00
bdev_nvme.c bdev/nvme: For reads, if there is only one element in the iov don't use 2020-09-22 11:41:30 +00:00
bdev_nvme.h module/bdev: add a function to remove trid from ctrlr. 2020-08-07 15:06:01 +00:00
bdev_ocssd_rpc.c bdev/ocssd: fixed leaking range buffer 2019-12-23 08:43:34 +00:00
bdev_ocssd.c pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
bdev_ocssd.h bdev/ocssd: media management events 2019-12-20 10:02:15 +00:00
common.c bdev/nvme: add a function for specifying a multipath trid. 2020-08-07 15:06:01 +00:00
common.h bdev/nvme: add failover option to bdev_nvme_reset 2020-08-07 15:06:01 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
nvme_rpc.c module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
vbdev_opal_rpc.c nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
vbdev_opal.c bdev_nvme/opal: remove unnecessary opal configuration 2020-07-01 07:50:59 +00:00
vbdev_opal.h module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00