32d7c91cbc
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> |
||
---|---|---|
.. | ||
aio | ||
error | ||
gpt | ||
iscsi | ||
lvol | ||
malloc | ||
null | ||
nvme | ||
passthru | ||
pmem | ||
rbd | ||
rpc | ||
split | ||
virtio | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
vtune.c |