Commit 91edf84c600c11f3f92746411a7253f23e199ef4

Con Kolivas 2013-05-27T12:39:32

Give a warning but don't reset if the avalon buffer is full early.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/driver-avalon.c b/driver-avalon.c
index 84fa9f3..e877ec6 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -793,10 +793,8 @@ static void *avalon_send_tasks(void *userdata)
 		for (i = start_count, j = 0; i < end_count; i++, j++) {
 			if (unlikely(avalon_buffer_full(fd) == AVA_BUFFER_FULL)) {
 				applog(LOG_WARNING,
-				       "AVA%i: Buffer full before all work queued",
-					avalon->device_id);
-				dev_error(avalon, REASON_DEV_COMMS_ERROR);
-				__avalon_running_reset(avalon, info, fd);
+				       "AVA%i: Buffer full after only %d of %d work queued",
+					avalon->device_id, j, avalon_get_work_count);
 				break;
 			}