OpenPOWER: Use non blocking call for host dump offload request
Currently dump manager is using pldm_send_recv which is
a blocking call and if the host is not responding
dump manager will hang to avoid this using pldm_send
which is a non-blocking call.
Tests:
Send message while host is down and dump manager is
not hung.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Ie90e217325da4c8778c7527afcd453a8fdce02c8
diff --git a/dump-extensions/openpower-dumps/resource_dump_entry.cpp b/dump-extensions/openpower-dumps/resource_dump_entry.cpp
index ac745b5..692ec14 100644
--- a/dump-extensions/openpower-dumps/resource_dump_entry.cpp
+++ b/dump-extensions/openpower-dumps/resource_dump_entry.cpp
@@ -28,8 +28,8 @@
using Reason = xyz::openbmc_project::Common::NotAllowed::REASON;
log<level::INFO>(
fmt::format(
- "Resource dump offload request id({}) uri({}) source dumpid()", id,
- uri, sourceDumpId())
+ "Resource dump offload request id({}) uri({}) source dumpid({})",
+ id, uri, sourceDumpId())
.c_str());
if (!phosphor::dump::isHostRunning())