Spdk/test/unit/lib/bdev
Konrad Sztyber 072703d510 bdev/crypto: complete IOs on ENOMEM from accel
spdk_bdev_queue_io_wait() can only be used when one of bdev submission
functions returns ENOMEM (i.e. there are no more spdk_bdev_ios on that
IO channel).  Using it in any other case, e.g. on spdk_accel_append_*()
returning ENOMEM, will most likely result in failure.  Therefore, to
avoid that, the IOs are completed with NOMEM status relying on the bdev
layer to retry them.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Ie0f03496e5d3180c481815b3f1b021e74ae2f46d
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17319
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2023-05-09 17:58:11 +08:00
..
bdev_zone.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev.c accel: make spdk_accel_sequence_finish() void 2023-05-09 17:58:11 +08:00
compress.c bdev/compress: Port to use accel_fw instead of compressdev 2023-01-20 10:26:21 +00:00
crypto.c bdev/crypto: complete IOs on ENOMEM from accel 2023-05-09 17:58:11 +08:00
gpt update Intel copyright notices 2022-11-10 08:28:53 +00:00
mt accel: make spdk_accel_sequence_finish() void 2023-05-09 17:58:11 +08:00
nvme test/unit: add missing jsonrpc stubs 2023-03-28 06:57:59 +00:00
part.c accel: make spdk_accel_sequence_finish() void 2023-05-09 17:58:11 +08:00
raid bdev: remove spdk_bdev_ext_io_opts from spdk_bdev_io 2023-02-16 10:09:35 +00:00
scsi_nvme.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
vbdev_lvol.c lvol: add support for external snapshots 2023-04-05 19:18:17 +00:00
vbdev_zone_block.c bdev: add claim type 2023-01-05 23:28:32 +00:00
Makefile bdev/pmem: Removing bdev pmem - updated tests 2023-03-09 09:21:23 +00:00