Loading
perf: Cleanup ns_worker_ctx after draining IO
Function cleanup_ns_worker_ctx is only called for ns_ctx which have outstanding IO, so when draining phase is started and some context doesn't have outstanding IO, it won't be cleaned properly. To fix this problem, call cleanup_ns_worker_ctx for every context when drining is finished. Fixes issue #1880 Signed-off-by:Alexey Marchuk <alexeymar@mellanox.com> Change-Id: I3ce4716ed6ac1369b6f72b03cbcfd7d407f7de55 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7282 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
<dongx.yi@intel.com>