Spdk/test/unit/lib
Shuhei Matsumoto fdb7dc32a8 bdev/nvme: bdev_nvme_reset_io() redirect to the orig_thread at completion
In the following patches, bdev_nvme_reset() will execute the reset ctrlr
operation on the nvme_ctrlr->thread until completion as bdev_nvme_admin_passthru()
does. Hence change the callback bdev_nvme_reset_io_continue() to
redirect to the orig_thread by using bio. Furthermore, use bio->cpl.cdw0
to store the completion status of the reset processing. bdev_nvme_reset()
does not use bio->cpl.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I361cc44494190ba83ad6e360788d78851416c46c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10074
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2022-06-30 13:32:28 -04:00
..
accel accel: create SW Engine Channel if HW Engine not supports 2022-06-30 13:32:26 -04:00
bdev bdev/nvme: bdev_nvme_reset_io() redirect to the orig_thread at completion 2022-06-30 13:32:28 -04:00
blob blob: use uint64_t for unmap and write_zeroes lba count 2022-06-30 13:32:26 -04:00
blobfs test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
dma dma: Update memory domain context structure 2022-06-30 13:32:26 -04:00
env_dpdk test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
event scheduler/dynamic: don't adjust tsc too much for very busy cores 2022-06-30 13:32:25 -04:00
ftl test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
idxd idxd: change NOTICELOGs to DEBUGLOGs 2022-06-30 13:32:27 -04:00
init nvmf: Fix double controller destruction when subsys is deleted 2021-09-08 08:04:04 +00:00
ioat test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
iscsi iscsi: Merge immediate data into the following R2T data 2022-06-30 13:32:27 -04:00
json test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
jsonrpc test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
log test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
lvol test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
notify test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme nvme: abort outstanding requests case by case 2022-06-30 13:32:28 -04:00
nvmf nvmf: Add discovery filtering rules 2022-06-30 13:32:27 -04:00
reduce test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
rpc ut/rpc: wrap syscalls using spdk.mock.unittest.mk 2022-06-30 13:32:25 -04:00
scsi test/scsi: Fix uninitialized variable 2022-06-30 13:32:26 -04:00
sock test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
thread test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
util test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
vhost lib/vhost: Fix compilation with dpdk 21.11 2022-06-30 13:32:27 -04:00
json_mock.c ut/json_mock: Add spdk_json_write_string_fmt() 2021-02-09 11:29:53 +00:00
Makefile unittest/rpc: add rpc unittest 2021-09-06 09:55:33 +00:00