In
39cd90e, I mistakenly disabled the ability of using absolute expire time in
cv_timedwait_hires. I don't quite sure why I did that, so let's restore it.
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Issue #553
tim = (tim / res) * res;
}
- ASSERT(!(flag & CALLOUT_FLAG_ABSOLUTE));
- /* get abs expire time */
- tim += gethrtime();
+ if (!(flag & CALLOUT_FLAG_ABSOLUTE))
+ tim += gethrtime();
return (__cv_timedwait_hires(cvp, mp, tim, state));
}