[sheepdog] [PATCH] gateway: use more user friendly outout for poll timeout

Liu Yuan namei.unix at gmail.com
Thu May 23 08:01:31 CEST 2013


Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 sheep/gateway.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sheep/gateway.c b/sheep/gateway.c
index 1a37ad8..d177345 100644
--- a/sheep/gateway.c
+++ b/sheep/gateway.c
@@ -164,7 +164,9 @@ again:
 
 		panic("%m");
 	} else if (pollret == 0) {
-		sd_eprintf("poll timeout %d", wi->nr_sent);
+		sd_eprintf("poll timeout %d, the disks of some nodes or "
+			   "network is busy. Going to poll-wait again",
+			   wi->nr_sent);
 		/*
 		 * If IO NIC is down, epoch isn't incremented, so we can't retry
 		 * for ever.
-- 
1.7.9.5




More information about the sheepdog mailing list