Spdk/module/bdev
Ben Walker 7deedab66a bdev/nvme: For writes, if there is only one iov element call
write instead of writev

Call spdk_nvme_ns_cmd_write_with_md if there is only one iov element.
Use spdk_nvme_ns_cmd_writev_with_md only if there is more than one.

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

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Change-Id: I1a99b5507d37cde04e81feada65b14554ad01a17
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4319
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
..
aio bdev/aio: assign new io-ctx to each io-ch 2020-09-15 07:14:18 +00:00
compress bdev/compress: rename RPC to match standard naming 2020-09-14 09:19:19 +00:00
crypto bdev/crypto: Stop access bdev_io->internal from bdev module and fix an issue 2020-05-21 09:19:23 +00:00
delay bdev/delay: Return poller status based on completions number 2020-07-08 07:54:38 +00:00
error lib and module: remove remaining _spdk prefixes. 2020-06-01 13:07:30 +00:00
ftl mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
gpt bdev/gpt: Change ERRLOG to DEBUGLOG to show interleaved metadata is not supported 2020-09-04 15:12:48 +00:00
iscsi pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
lvol lvol: report io_unit_size as block_size instead of page size 2020-07-17 07:20:14 +00:00
malloc lib/accel: remove the need for the app to allocate an accel_task 2020-07-24 19:38:46 +00:00
null bdev/null: make md_size inclusive for dif_type 2020-08-31 07:47:48 +00:00
nvme bdev/nvme: For writes, if there is only one iov element call 2020-09-22 11:41:30 +00:00
ocf bdev/ocf: add cache line size 2020-08-12 10:39:56 +00:00
passthru bdev/passthru: Support I/O type ABORT 2020-06-09 07:37:29 +00:00
pmem mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
raid module/bdev_raid: remove an ERROR log which occurs every times 2020-08-25 08:02:37 +00:00
rbd bdev/rbd: Still use rbd_aio_read/write if iovcnt=1 2020-09-11 07:29:20 +00:00
rpc mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
split mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
uring bdev/uring: Do not use IORING_SETUP_IOPOLL. 2020-08-04 18:27:56 +00:00
virtio virtio: fix scsi double free issue 2020-07-30 08:43:23 +00:00
zone_block mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
Makefile bdev/ftl: Remove NVMe dependencies 2020-01-15 12:24:44 +00:00