Loading
bdev/nvme: Fix failback failure when connected while being reset
A commit a half year ago https://github.com/spdk/spdk/commit/bb4be4dc57b2c2a90297dde74bddf0ceb5bf3886 caused this degradation. ctrlr_ch->reset_iter was used to establish connections for qpairs sequentially for controller reset. In a controller reset sequence, ctrlr_ch->reset_iter is set until connection is actually established. To failback correctly, clear current active path cache again to choose the preferred path again. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I78fc0b099d7836008718f08678b4a819a25703ed Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20703 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>