Spdk/test/nvme
Tomasz Zawadzki ccdbd2ed51 nvme/cuse: fix nblocks and block_size in rw path
nblocks is zero based, so read path was missing the increment.

NVMe device that cuse represents can be of any block_size,
so rather than hardcoding 512 - actually verify it.
Both paths didn't request enough of a buffer from cuse.

Reported-by: Niklas Cassel
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I228dc2572bc94ecbcb913e950d912a7ab5be9434
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4037
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-09-04 08:13:56 +00:00
..
aer lib/nvme: add spdk_nvme_transport_available_by_name 2020-01-16 09:10:38 +00:00
cuse nvme/cuse: fix nblocks and block_size in rw path 2020-09-04 08:13:56 +00:00
deallocated_value test/nvme/deallocated_value: switch to spdk_*malloc(). 2019-07-05 03:48:51 +00:00
e2edp test/nvme_dp: return failure correctly when test it in CI 2020-06-12 15:40:22 +00:00
err_injection nvme: replace cdw10 with specific union command 2019-12-06 14:43:41 +00:00
overhead test/nvme: Increment current_queue_depth only if I/O submission succeeded 2020-05-29 14:58:30 +00:00
perf test/nvme_perf: add p90 latency to gathered metrics 2020-09-03 07:43:35 +00:00
reserve test/nvme_reserve: set host identifier at runtime 2020-06-15 15:27:50 +00:00
reset test/nvme: Increment current_queue_depth only if I/O submission succeeded 2020-05-29 14:58:30 +00:00
sgl test/nvme/sgl: switch to spdk_*malloc(). 2019-07-16 10:51:47 +00:00
startup test/nvme: Add nvme startup tool. 2019-10-23 17:03:56 +00:00
hotplug.sh env_dpdk/pci: delay device initialization on hotplug 2020-07-23 20:48:47 +00:00
hw_hotplug.sh hw_hotplug: Fix HW hotplug test 2020-07-21 09:23:09 +00:00
Makefile test/nvme: dynamic nvme cuse devices update test 2020-06-05 09:01:44 +00:00
nvme_opal.sh test/opal: add a trap for opal_revert_and_init() 2020-08-19 07:30:04 +00:00
nvme_rpc.sh build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
nvme.sh test/nvme.sh: rewrite nvme_fio test to find namespaces using identify 2020-06-18 07:27:51 +00:00
spdk_nvme_cli.sh test/common: move nvme-cli compilation to common script 2020-07-06 23:22:59 +00:00