Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Error counters #326
Conversation
pshep
added some commits
Aug 10, 2012
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
pshep
commented
Nov 5, 2012
In retrospect, the function probably should have gone in api.c... |
kanoi
reviewed
Nov 5, 2012
@@ -5616,8 +5609,7 @@ static void *watchdog_thread(void __maybe_unused *userdata) | ||
applog(LOG_ERR, "%s: Idle for more than 60 seconds, declaring SICK!", dev_str); | ||
gettimeofday(&thr->sick, NULL); | ||
- cgpu->device_last_not_well = time(NULL); | ||
- cgpu->device_not_well_reason = REASON_DEV_SICK_IDLE_60; | ||
+ dev_error(cgpu, REASON_DEV_SICK_IDLE_60); | ||
cgpu->dev_sick_idle_60_count++; |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
pshep
commented
Nov 5, 2012
Well spotted, thanks. |
pshep
added some commits
Nov 6, 2012
added a commit
that referenced
this pull request
Nov 18, 2012
ckolivas
merged commit f14bf5b
into
ckolivas:master
Nov 18, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pshep commentedNov 5, 2012
A tidy up for the device error counters.