summaryrefslogtreecommitdiff
path: root/blktrace.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-01-31 09:21:04 +0100
committerJens Axboe <axboe@suse.de>2006-01-31 09:21:04 +0100
commitc0e0dbc2b9f2865832f937650a617477a350cb55 (patch)
treebc59bfa942969c22b059cb8c67865408987776ed /blktrace.h
parent5c0f40f757e864e11e2844955776dedd14e4d3cd (diff)
downloadblktrace-c0e0dbc2b9f2865832f937650a617477a350cb55.tar.gz
blktrace-c0e0dbc2b9f2865832f937650a617477a350cb55.tar.bz2
[PATCH] blkparse: cut down on excessive number of fcntl() calls
Cache the blocking state locally and only issue it if changed.
Diffstat (limited to 'blktrace.h')
-rw-r--r--blktrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/blktrace.h b/blktrace.h
index 046a1aa..7462edc 100644
--- a/blktrace.h
+++ b/blktrace.h
@@ -37,6 +37,7 @@ struct per_cpu_info {
unsigned int nelems;
int fd;
+ int fdblock;
char fname[128];
struct io_stats io_stats;