projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54824c2
)
[PATCH] blktrace: one more round up of data transfer
author
Jens Axboe
<axboe@suse.de>
Wed, 15 Feb 2006 09:26:23 +0000
(10:26 +0100)
committer
Jens Axboe
<axboe@suse.de>
Wed, 15 Feb 2006 09:26:23 +0000
(10:26 +0100)
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index e8905ebce3491b33b8b6e1e0239407a84dece9ff..dd0d5bfb5dbe617a8ba26de7db7adbc812bbd7fb 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-1134,7
+1134,7
@@
static void show_stats(void)
if (!no_stdout)
printf(" Total: %20llu events (dropped %lu), %8llu KiB data\n",
events_processed, dip->drop_count,
-
data_read
>> 10);
+
(data_read + 1023)
>> 10);
}
if (total_drops)