Recent changes (master)
The following changes since commit b7ed2a862ddafa7dbaa6299ee8633b6f8221e283:
io_uring: set sqe iopriority, if prio/prioclass is set (2020-01-09 14:58:51 -0700)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 7eff05d723d1330a5407b2bdd9145f1bfb6dd0e1:
time: limit usec_sleep() to maximum intervals of 1 second (2020-01-13 14:51:35 -0700)
----------------------------------------------------------------
Jens Axboe (1):
time: limit usec_sleep() to maximum intervals of 1 second
time.c | 7 +++++++ 1 file changed, 7 insertions(+)
---
Diff of recent changes:
time.c +7 -0
@@ -57,6 +57,13 @@ uint64_t usec_sleep(struct thread_data *td, unsigned long usec)if (ts >=1000000 ) { req.tv_sec = ts /1000000 ; ts -=1000000 * req.tv_sec; +/* +* Limit sleep to ~1 second at most, otherwise we +* don't notice then someone signaled the job to +* exit manually. +*/ +if (req.tv_sec >1 ) + req.tv_sec =1 ; }else req.tv_sec =0 ;