From 2689be58c1d2633b84751d8e482c368cd1458e21 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 16 Mar 2006 09:28:56 +0100 Subject: [PATCH] [PATCH] blktrace: sendfile() poll can use -1 timeout with the flush change --- blktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blktrace.c b/blktrace.c index 4b34e9c..36d2ebe 100644 --- 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"); -- 2.25.1