summaryrefslogtreecommitdiff
path: root/blktrace_api.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-07-06 10:04:23 +0200
committerJens Axboe <axboe@suse.de>2006-07-06 10:04:23 +0200
commitf86990edd23e465f8a865c34d308f888b8e6ee2d (patch)
tree416b22faad843a1d9aab2fdfa483a9f8fd51c099 /blktrace_api.h
parent871ef6d09b45f1e60d52abc2c0ede07ae47796a1 (diff)
downloadblktrace-f86990edd23e465f8a865c34d308f888b8e6ee2d.tar.gz
blktrace-f86990edd23e465f8a865c34d308f888b8e6ee2d.tar.bz2
[PATCH] Support for readahead tracing
These are the userspace changes to allow blktrace to distinguish readahead from non-readahead reads.
Diffstat (limited to 'blktrace_api.h')
-rw-r--r--blktrace_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/blktrace_api.h b/blktrace_api.h
index 1aaf0fe..fb7ef90 100644
--- a/blktrace_api.h
+++ b/blktrace_api.h
@@ -10,7 +10,7 @@ enum {
BLK_TC_READ = 1 << 0, /* reads */
BLK_TC_WRITE = 1 << 1, /* writes */
BLK_TC_BARRIER = 1 << 2, /* barrier */
- BLK_TC_SYNC = 1 << 3, /* barrier */
+ BLK_TC_SYNC = 1 << 3, /* sync */
BLK_TC_QUEUE = 1 << 4, /* queueing/merging */
BLK_TC_REQUEUE = 1 << 5, /* requeueing */
BLK_TC_ISSUE = 1 << 6, /* issue */
@@ -18,6 +18,7 @@ enum {
BLK_TC_FS = 1 << 8, /* fs requests */
BLK_TC_PC = 1 << 9, /* pc requests */
BLK_TC_NOTIFY = 1 << 10, /* special message */
+ BLK_TC_AHEAD = 1 << 11, /* readahead */
BLK_TC_END = 1 << 15, /* only 16-bits, reminder */
};