Spdk/test/unit/lib/bdev
Jim Harris 32d7c91cbc bdev: add spdk_bdev_queue_io_wait()
This function is intended to be used when an spdk_bdev
I/O operation (such as spdk_bdev_write or spdk_bdev_write_blocks)
fails due to spdk_bdev_io buffer exhaustion.  The caller
can queue an spdk_bdev_io_wait structure on the calling thread
which will be invoked when an spdk_bdev_io buffer is available.

While here, turn off error messages in bdev.c related to
spdk_bdev_io pool exhaustion, since we now have an API designed
to gracefully recover from it.

Also modify bdevperf as an example of how to use this new API.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ia55f6582dc5a8d6d8bcc74689fd846d742324510

Reviewed-on: https://review.gerrithub.io/415074
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-06-20 17:41:47 +00:00
..
bdev.c bdev: add spdk_bdev_queue_io_wait() 2018-06-20 17:41:47 +00:00
gpt test: move test_env.c under test/common/lib 2018-03-29 00:31:24 -04:00
mt bdev: add INI config file options for bdev_io parameters 2018-06-14 14:57:11 +00:00
part.c bdev: add INI config file options for bdev_io parameters 2018-06-14 14:57:11 +00:00
pmem bdev/pmem: add conf support to test in blockdev.sh 2018-04-03 14:14:29 -04:00
scsi_nvme.c test: use spdk.unittest.mk in bdev unit tests 2018-02-14 11:07:05 -05:00
vbdev_lvol.c lvol: raport not supported io types on ro lvol 2018-04-20 15:22:53 -04:00
Makefile bdev/pmem: change all NVML strings to PMDK 2018-04-07 00:07:57 -04:00