Spdk/examples/nvme
Changpeng Liu edb6e5b45a nvme/perf: fix the wrong caculation of queue pair requests
For the commands sent from upper layer, the NVMe driver may
split one command into several children requests based on
stripe and data length, so number of requests in each queue
pair has a value which is start from 512.  we must ensure
that the number of request in each queue pair is big enough
to process all the commands, e.g: a user's input for a 512KiB
read can be divided into 5 children NVMe commands when maximum
transfer length is 128KiB, in addition, one parent request is
occupied to track children commands.

Fix issues #566 and #573.

Change-Id: I162da8e1e15692625ce311e68a72c89b6492dd56
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/440457
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2019-01-18 15:29:39 +00:00
..
arbitration lib: Return instead of exit/abort in env_dpdk 2018-01-10 16:20:15 -05:00
cmb_copy cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00
fio_plugin util/crc16: Add init_crc parameter as seed value to spdk_crc16_t10dif 2018-12-18 17:28:56 +00:00
hello_world nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
hotplug lib: Return instead of exit/abort in env_dpdk 2018-01-10 16:20:15 -05:00
identify env: remove default pre-reserved memory size 2018-12-12 11:00:57 +00:00
nvme_manage nvme_manage: use SCNu64 for uint64_t input 2018-07-31 21:57:34 +00:00
perf nvme/perf: fix the wrong caculation of queue pair requests 2019-01-18 15:29:39 +00:00
reserve log: remove "trace" from public API 2018-12-03 19:50:15 +00:00
Makefile cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00