Commit 700d54fb authored by Claes Sjofors's avatar Claes Sjofors

Cycle sup delay for action Stop I/O bugfix

parent 45074177
......@@ -167,8 +167,10 @@ csup_Exec (
else {
/* Not owner, check stall delay */
if ( o->DelayAction == 2) {
if (time_Dcomp(&o->NextLimit, NULL) > 0 &&
time_Dcomp(stop, &o->NextLimit) > 0) {
nextLimit.tv_nsec = o->NextLimit.tv_nsec;
nextLimit.tv_sec = o->NextLimit.tv_sec;
if (time_Dcomp(&nextLimit, NULL) > 0 &&
time_Dcomp(stop, &nextLimit) > 0) {
o->DelayCount++;
o->LastDelay = *now;
action = MAX(action, o->DelayAction);
......@@ -197,4 +199,4 @@ csup_Exit (
free(cp);
}
free(lh);
}
\ No newline at end of file
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment