+4
−1
+23
−0
Loading
The qpair state is set in multiple code paths. Having nvme_qpair_set_state as a macro makes it possible to see the caller. Moreover, added qpair's state to [ERR|WARN|NOTICE]LOG. Intentionally skipped DEBUGLOG as it is covered by the nvme_qpair_set_state now. Change-Id: I11905f3942b2f6fefce84fe6c262484b0808598e Signed-off-by:Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26541 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot