numam-spdk/examples/nvme
Daniel Verkamp 37962990e4 nvme/fio_plugin: fix ->queue() error reporting
FIO backends are supposed to return a negative value on error.

Add special handling for -ENOMEM (out of requests) case to return
FIO_Q_BUSY, indicating that FIO should resubmit the request later.

This is part of the fix for issue #169, which is related to high queue
depths with large I/Os causing the NVMe library to run out of request
objects.

Change-Id: I4fa4001b078b07c42fcd4d1357434575b2c84023
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/369664
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-07-14 18:15:07 -04:00
..
arbitration env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
fio_plugin nvme/fio_plugin: fix ->queue() error reporting 2017-07-14 18:15:07 -04:00
hello_world test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
hotplug example/hotplug: quit from hotplug once the count of hotplug is correct. 2017-06-16 14:06:31 -04:00
identify log: set print level when enabling tracelogs 2017-07-11 18:02:47 -04:00
nvme_manage update_firmware: Allow option to download and enable firmware image. 2017-07-07 17:12:57 -04:00
perf nvme/perf: add additional latency cutoffs 2017-06-28 13:06:37 -04:00
reserve test/nvme: use stub to accelerate test time 2017-06-16 15:27:13 -04:00
Makefile example: Add example for nvme hotplug. 2016-12-01 10:23:10 +08:00