numam-spdk/module/bdev
Shuhei Matsumoto cac5022e61 bdev/crypto: Stop access bdev_io->internal from bdev module and fix an issue
crypto_dev_poller() had set IO error to bdev_io->internal.status
but _crypto_operation_complete() checked io_ctx->bdev_io_status
and overwritten bdev_io->internal.status by spdk_bdev_io_complete().

On the other hand, internal fields of struct spdk_bdev_io should
have been avoided.

This patch fixes both.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ia3d4887f34fdecc765b88246c3e66ce1871ff30f
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1907
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2020-05-21 09:19:23 +00:00
..
aio mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
compress mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
crypto bdev/crypto: Stop access bdev_io->internal from bdev module and fix an issue 2020-05-21 09:19:23 +00:00
delay mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
error mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
ftl mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
gpt mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
iscsi mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
lvol mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
malloc mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
null mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
nvme mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
ocf mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
passthru mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
pmem mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
raid mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
rbd mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
rpc mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
split mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
uring mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
virtio mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
zone_block mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
Makefile bdev/ftl: Remove NVMe dependencies 2020-01-15 12:24:44 +00:00