Signed-off-by: Christoph Hellwig <hch@lst.de>

---
 sheep/sdnet.c |    6 ++++++
 1 file changed, 6 insertions(+)

Index: sheepdog/sheep/sdnet.c
===================================================================
--- sheepdog.orig/sheep/sdnet.c	2012-07-13 11:31:54.473258506 +0200
+++ sheepdog/sheep/sdnet.c	2012-07-13 11:37:37.773256457 +0200
@@ -77,6 +77,12 @@ static void gateway_op_done(struct work
 	case SD_RES_NETWORK_ERROR:
 	case SD_RES_WAIT_FOR_JOIN:
 	case SD_RES_WAIT_FOR_FORMAT:
+		dprintf("retrying failed I/O request "
+			"op %s result %d epoch %d, sys epoch %d\n",
+			op_name(req->op),
+			req->rp.result,
+			req->rq.epoch,
+			sys->epoch);
 		goto retry;
 	case SD_RES_EIO:
 		if (is_access_local(req, hdr->obj.oid)) {


