projects
/
blktrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] blktrace: sendfile() poll can use -1 timeout with the flush change
[blktrace.git]
/
blktrace.c
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");