Spdk/module/bdev
paul luse c602bd81f6 module/crypto: change how we handle crypto device full condition
Previously we would sit in the submission routine and spin on the
poller and then retry in the event that we could not get CryptoDev
to take all of the ops that we had available.

The implementation was fine however a recent CryptoDev change
requires us to now check the status of attempted submissions
instead of assuming that the device was busy. If there was
another reason for the failure we don't want to retry or we'll
be stuck in an endless retry loop.

Changing the current device full handling to match what was
done in the compression vbdev makes it easier to handle the
new condition and also makes the two vbdevs more consistent
with regards to how they manage the DPDK framework API.

This patch only changes how we handle full conditions to put
the ops on a linked list and resubmit them the next tie the
poller runs naturally. A following patch will handle the
CryptoDev API change that instigated this change.

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: Idcb6e06b6826045f23e59b64eca051f3eee2b850
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/472309
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-12-05 13:06:35 +00:00
..
aio bdev/aio: delete unnecessary code 2019-10-16 15:55:46 +00:00
compress module/compress: handle enqueue errors 2019-11-06 14:49:37 +00:00
crypto module/crypto: change how we handle crypto device full condition 2019-12-05 13:06:35 +00:00
delay mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
error RPC: rename RPC bdev_error series 2019-08-26 18:59:18 +00:00
gpt mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
iscsi module/bdev: fix a inconsistent order of parameters 2019-11-21 08:04:53 +00:00
lvol lvol: Use error log instead of info log on error 2019-09-09 08:40:58 +00:00
malloc scripts/rpc: Rename rpc delete_malloc_bdev to bdev_malloc_delete 2019-09-09 05:02:47 +00:00
null scripts/rpc: Rename rpc related to null bdev 2019-08-28 15:19:58 +00:00
nvme bdev/nvme: explain the "populated" flag with a comment 2019-12-02 11:20:05 +00:00
ocf lib/bdev/ocf: remove unused code related to polling utils 2019-10-22 17:22:41 +00:00
passthru module/passthru: fix a few typos in comments 2019-09-20 02:02:42 +00:00
pmem rpc: Rename delete_pmem_pool to bdev_pmem_delete_pool 2019-09-05 07:04:17 +00:00
raid module/raid: raid level specific start/stop callbacks 2019-11-14 16:25:55 +00:00
rbd RPC: rename rpc delete_rbd_bdev to bdev_rbd_delete 2019-09-13 22:39:15 +00:00
rpc bdev/rpc: Add current ticks to bdev_get_iostat RPC 2019-11-21 08:05:23 +00:00
split RPC: rename destruct_split_vbdev to bdev_split_delete 2019-09-19 19:24:47 +00:00
uring bdev/uring: add JSON config dump 2019-11-20 10:01:07 +00:00
virtio RPC: rename construct_virtio_dev to bdev_virtio_attach_controller 2019-09-19 19:24:47 +00:00
zone_block bdev/zone: Register/unregister zoned bdev 2019-11-15 20:27:14 +00:00
Makefile bdev/zone: Create and delete zoned block device vdev 2019-11-15 20:27:14 +00:00