projects
/
disktools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42b2b9f
)
[PATCH] fio: rate granularity from 250msec to 100msec
author
Jens Axboe
<axboe@suse.de>
Fri, 14 Oct 2005 08:39:05 +0000
(10:39 +0200)
committer
Jens Axboe
<axboe@suse.de>
Fri, 14 Oct 2005 08:39:05 +0000
(10:39 +0200)
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index e4cd6ed5d1c845b5f6d23330dc7abe3c6eec5279..41def265352f08cdfe6cddc4f282363680913be5 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-321,7
+321,7
@@
void rate_throttle(struct thread_data *td, unsigned long time_spent)
unsigned long s = td->rate_usec_cycle - time_spent;
td->rate_pending_usleep += s;
- if (td->rate_pending_usleep >=
25
0000) {
+ if (td->rate_pending_usleep >=
10
0000) {
usec_sleep(td->rate_pending_usleep);
td->rate_pending_usleep = 0;
}