Spdk/module/bdev/crypto
Konrad Sztyber 3824f6e39b 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-04-19 06:36:20 +00:00
..
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
vbdev_crypto_rpc.c bdev/crypto: Use accel framework 2023-01-19 22:00:58 +00:00
vbdev_crypto.c bdev/crypto: complete IOs on ENOMEM from accel 2023-04-19 06:36:20 +00:00
vbdev_crypto.h bdev/crypto: Use accel framework 2023-01-19 22:00:58 +00:00