After the change that the NVMe bdev module disconnects qpair asynchronously, disconnected_qpair_cb() got NOTICELOG always when a qpair was disconnected and freed. This was very noisy. We have three cases that disconnected_qpair_cb() is called now, 1) qpair was destroyed in a full ctrlr reset sequence, 2) the upper layer closed I/O channel, and 3) qpair detected error, and was disconnected and freed. Get NOTICELOG for 3) but get DEBUGLOG for 1) and 2) with some rewording. Additionally, to improve readability, change if-else ordering. Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ib63bcfd4b72a82a13d3cda208c71cdb40a42fd6b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12085 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
Makefile |