7f6738e12d
Previously there was no consideration for IO that were outstanding to the crypto device when handling a reset. This patch makes sure that those IO are completed with FAIL status prior to completing the reset that we pass down the stack. It does so by sending down the reset first and in the completion using spdk_for_each_channel and the poller to quiesce each channel allowing the crypto side to complete all IOs before we finally complete the reset IO after the last channel is quiesced. Resets are tracked on a per bdev basis. Addresses github issue #449. Change-Id: Iadb07bada1fcaad33d9f224a60d983a7eb835236 Signed-off-by: paul luse <paul.e.luse@intel.com> Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/428552 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
app | ||
bdev | ||
blobfs | ||
blobstore | ||
common | ||
config_converter | ||
cpp_headers | ||
env | ||
event | ||
ioat | ||
iscsi_tgt | ||
json_config | ||
lvol | ||
nvme | ||
nvmf | ||
pmem | ||
rpc_client | ||
spdkcli | ||
unit | ||
vhost | ||
Makefile | ||
spdk_cunit.h |