+46
−4
Loading
If requests with outstanding accel operations are aborted, accel completion callbacks might get executed with a freed qpair as context (if user frees qpairs when they get disconnected). So, to avoid this, qpairs are marked as DISCONNECTED only after all accel operations are completed. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I9aa4b456135523d44cf96a3dd21e1876819834ca Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19057 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@gmail.com>