nvmf: reduce log level of informational messages
Change-Id: I595f0ec871174557a35811fe3b102c33a5a60ab0 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/405931 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
c27c2c0674
commit
9770ee7817
@ -234,8 +234,8 @@ spdk_nvmf_parse_subsystem(struct spdk_conf_section *sp)
|
||||
goto done;
|
||||
}
|
||||
|
||||
SPDK_NOTICELOG("Attaching block device %s to subsystem %s\n",
|
||||
spdk_bdev_get_name(bdev), spdk_nvmf_subsystem_get_nqn(subsystem));
|
||||
SPDK_INFOLOG(SPDK_LOG_NVMF, "Attaching block device %s to subsystem %s\n",
|
||||
spdk_bdev_get_name(bdev), spdk_nvmf_subsystem_get_nqn(subsystem));
|
||||
}
|
||||
|
||||
/* Parse Listen sections */
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include "spdk/queue.h"
|
||||
|
||||
#include "spdk_internal/event.h"
|
||||
#include "spdk_internal/log.h"
|
||||
|
||||
struct spdk_nvmf_tgt_conf {
|
||||
uint32_t acceptor_poll_rate;
|
||||
|
@ -274,7 +274,7 @@ nvmf_tgt_advance_state(void)
|
||||
case NVMF_TGT_INIT_START_ACCEPTOR:
|
||||
g_acceptor_poller = spdk_poller_register(acceptor_poll, g_spdk_nvmf_tgt,
|
||||
g_spdk_nvmf_tgt_conf.acceptor_poll_rate);
|
||||
SPDK_NOTICELOG("Acceptor running\n");
|
||||
SPDK_INFOLOG(SPDK_LOG_NVMF, "Acceptor running\n");
|
||||
g_tgt_state = NVMF_TGT_RUNNING;
|
||||
break;
|
||||
case NVMF_TGT_RUNNING:
|
||||
|
@ -1133,7 +1133,7 @@ spdk_nvmf_rdma_create(struct spdk_nvmf_tgt *tgt)
|
||||
rtransport->transport.tgt = tgt;
|
||||
rtransport->transport.ops = &spdk_nvmf_transport_rdma;
|
||||
|
||||
SPDK_NOTICELOG("*** RDMA Transport Init ***\n");
|
||||
SPDK_INFOLOG(SPDK_LOG_RDMA, "*** RDMA Transport Init ***\n");
|
||||
|
||||
rtransport->max_queue_depth = tgt->opts.max_queue_depth;
|
||||
rtransport->max_io_size = tgt->opts.max_io_size;
|
||||
@ -1372,8 +1372,8 @@ spdk_nvmf_rdma_listen(struct spdk_nvmf_transport *transport,
|
||||
assert(device->pd == port->id->pd);
|
||||
}
|
||||
|
||||
SPDK_NOTICELOG("*** NVMf Target Listening on %s port %d ***\n",
|
||||
port->trid.traddr, ntohs(rdma_get_src_port(port->id)));
|
||||
SPDK_INFOLOG(SPDK_LOG_RDMA, "*** NVMf Target Listening on %s port %d ***\n",
|
||||
port->trid.traddr, ntohs(rdma_get_src_port(port->id)));
|
||||
|
||||
port->ref = 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user