20839ad6a0
Hold the bdev_io which submits the reset request into the nvme_bdev_ctrlr. as reset_bio. Then differentiate the callback function between _bdev_nvme_complete_pending_resets() and _bdev_nvme_abort_pending_resets() to spdk_for_each_channel() in _bdev_nvme_reset_complete(). The next patch will pass nvme_bdev_ctrlr to for_each_channel() instead. The following patches will register nvme_bdev_subsystem instead of nvme_bdev_ctrlr as io_device. Hence we need a different way to pass nvme_bdev_ctrlr to the completion functions of spdk_for_each_channel(). Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: If7a3386815429e8ed44f4e9e5365a21bd97e7fb6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6913 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
aio | ||
compress | ||
crypto | ||
delay | ||
error | ||
ftl | ||
gpt | ||
iscsi | ||
lvol | ||
malloc | ||
null | ||
nvme | ||
ocf | ||
passthru | ||
pmem | ||
raid | ||
rbd | ||
split | ||
uring | ||
virtio | ||
zone_block | ||
Makefile |