During testing we routinely hit "internal error" messages when working
with a number of ports = 1024 and when the kernel is busy. Although the
operation completes successfully, the message is confusing to the user.
Increase the timeout to 30s to allow normal workloads to finish without
error. This is a select timeout and will not cause long waits if the
command completes early since select will return.

Signed-off-by: Nithin Nayak Sujir <nsu...@broadcom.com>
---
 fcoe_clif.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fcoe_clif.h b/fcoe_clif.h
index 3155b78..e375de2 100644
--- a/fcoe_clif.h
+++ b/fcoe_clif.h
@@ -33,7 +33,7 @@
 
 #define CLIF_PID_FILE _PATH_VARRUN "fcoemon.pid"
 
-#define CLIF_CMD_RESPONSE_TIMEOUT 5
+#define CLIF_CMD_RESPONSE_TIMEOUT 30
 #define MAX_MSGBUF 512
 
 enum clif_action {
-- 
1.7.1


_______________________________________________
devel mailing list
devel@open-fcoe.org
https://lists.open-fcoe.org/mailman/listinfo/devel

Reply via email to