+6
−6
Loading
There is no harm to do an extra check and increment async completion counter under main req complete function. However, that is behavior change in the way that abort flows (_admin_qpair_abort_aers, _qpair_abort_reqs) which used non safe version also modify the async completion counter now. As abort flows might be triggered outside of nvme_transport_qpair_process_completions context this actually might be considered as a fix. This is needed as a prework for further change where bypass of ordering flags check is required and async context is still relevant. Change-Id: I889327a45859b3087603114d460912cb5b19c22b Signed-off-by:Jacek Kalwas <jacek.kalwas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23392 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>