nvme: convert uevent failure message to TRACELOG

The message about the uevent socket is not a fatal error; it just means
that hotplug monitoring will not work.

Change-Id: I29f6a253e96a86420c0fde9e19135f9f1d229bb9
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-02-28 16:00:51 -07:00
parent d89352a95c
commit 2563429809

View File

@ -638,7 +638,7 @@ nvme_pcie_ctrlr_scan(const struct spdk_nvme_transport_id *trid,
if (hotplug_fd < 0) { if (hotplug_fd < 0) {
hotplug_fd = spdk_uevent_connect(); hotplug_fd = spdk_uevent_connect();
if (hotplug_fd < 0) { if (hotplug_fd < 0) {
SPDK_ERRLOG("Failed to open uevent netlink socket\n"); SPDK_TRACELOG(SPDK_TRACE_NVME, "Failed to open uevent netlink socket\n");
} }
} else { } else {
_nvme_pcie_hotplug_monitor(cb_ctx, probe_cb, remove_cb); _nvme_pcie_hotplug_monitor(cb_ctx, probe_cb, remove_cb);