projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfbd6d
)
[PATCH] blktrace: final (hopefully) data read stat updates
author
Jens Axboe
<axboe@suse.de>
Mon, 20 Feb 2006 10:12:11 +0000
(11:12 +0100)
committer
Jens Axboe
<axboe@suse.de>
Mon, 20 Feb 2006 10:12:11 +0000
(11:12 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index ac516a243cfb540178b97977f6af9cf2bdef625c..c1909a949c380328dcba22a0c3f37e7fea3ec5d4 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-767,7
+767,6
@@
static int flush_subbuf_net(struct thread_information *tip,
if (write_data_net(net_out_fd, ts->buf, ts->len))
return 1;
- tip->data_read += ts->len;
free(ts->buf);
free(ts);
return 0;
@@
-799,7
+798,7
@@
static int flush_subbuf_sendfile(struct thread_information *tip,
return 1;
}
- tip->data_read +=
ts->
len;
+ tip->data_read += len;
free(ts);
return 0;
}