nvme/perf: remove unnecessary logging

There's little use to the "Starting thread on core XX"
messages - they may have served a purpose at some point,
but the other messages showing where each controller
is associated is sufficient.

Also remove the "Attaching to..." message - the
"Attached to..." message is sufficient here too.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9543e8f3f6d7b6e28238cba27fc1e4194908f3b7

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473337
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Jim Harris 2019-11-05 05:51:35 -07:00 committed by Tomasz Zawadzki
parent 262ecf0ec5
commit 437dce1a5b

View File

@ -1017,8 +1017,6 @@ work_fn(void *arg)
struct ns_worker_ctx *ns_ctx = NULL;
uint32_t unfinished_ns_ctx;
printf("Starting thread on core %u\n", worker->lcore);
/* Allocate queue pairs for each namespace. */
ns_ctx = worker->ns_ctx;
while (ns_ctx != NULL) {
@ -1812,20 +1810,13 @@ static bool
probe_cb(void *cb_ctx, const struct spdk_nvme_transport_id *trid,
struct spdk_nvme_ctrlr_opts *opts)
{
if (trid->trtype != SPDK_NVME_TRANSPORT_PCIE) {
printf("Attaching to NVMe over Fabrics controller at %s:%s: %s\n",
trid->traddr, trid->trsvcid,
trid->subnqn);
} else {
if (trid->trtype == SPDK_NVME_TRANSPORT_PCIE) {
if (g_disable_sq_cmb) {
opts->use_cmb_sqs = false;
}
if (g_no_shn_notification) {
opts->no_shn_notification = true;
}
printf("Attaching to NVMe Controller at %s\n",
trid->traddr);
}
/* Set io_queue_size to UINT16_MAX, NVMe driver