projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
506cdb6
)
[PATCH] blktrace: sendfile() poll can use -1 timeout with the flush change
author
Jens Axboe
<axboe@suse.de>
Thu, 16 Mar 2006 08:28:56 +0000
(09:28 +0100)
committer
Jens Axboe
<axboe@suse.de>
Thu, 16 Mar 2006 08:28:56 +0000
(09:28 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index 4b34e9c73fdbdf7e6ad34f5e5f159106acb6fb27..36d2ebe6f951c38a40eff4c5a32cbdd3156a2b92 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-785,7
+785,7
@@
static int get_subbuf_sendfile(struct thread_information *tip,
struct stat sb;
unsigned int ready;
- wait_for_data(tip,
250
);
+ wait_for_data(tip,
-1
);
if (fstat(tip->fd, &sb) < 0) {
perror("trace stat");