+11
−0
+1
−0
Loading
A ctrlr disconnect (due to EN=0 or SHN) results in async operations that we need to make sure don't complete after the associated controller has been destructed. So make sure we do not start the ctrlr destruct if a disconnect is in progress. We can basically just continue to send the destruct message to itself over and over again until the disconnect has finished. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Id722ad206c0dde26ee013dfd98815af3901a9cac Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6057 Community-CI: Broadcom CI Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
<dongx.yi@intel.com>