reset_io is stored into nvme_bdev_ctrlr->reset_bio now. Hence we can merge completing reset_io into _bdev_nvme_reset_complete() easily. i As a few minor changes, to reduce the size of the following patches, clear reset_bio before calling spdk_bdev_io_complete(), and call spdk_bdev_io_complete() after completing ctrlr reset. The following patches will retry pending reset_ios if reset is internal, abort reset_ios if reset is external and fails, or succeed reset_ios if reset is external and succeeds. This clean-up will be helpful for such enhancement. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I5e0b4e04b19f4f4f3b21b2db4dc6a2b948b29c67 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7241 Community-CI: Broadcom CI Reviewed-by: Changpeng Liu <changpeng.liu@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> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |