summaryrefslogtreecommitdiff
path: root/blktrace_api.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2005-09-22 10:29:10 +0200
committerJens Axboe <axboe@suse.de>2005-09-22 10:29:10 +0200
commit93f1c611e78c56722d0229532ef71a9658e678bb (patch)
tree0f7b371eda2fc46eb9d8ec17732479f4a7eee1d7 /blktrace_api.h
parent638c1923160dc8ed032616c3857362a6ca59a4ad (diff)
downloadblktrace-93f1c611e78c56722d0229532ef71a9658e678bb.tar.gz
blktrace-93f1c611e78c56722d0229532ef71a9658e678bb.tar.bz2
[PATCH] Add support for bounce and split operations
Diffstat (limited to 'blktrace_api.h')
-rw-r--r--blktrace_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/blktrace_api.h b/blktrace_api.h
index 0302cfe..20c9d68 100644
--- a/blktrace_api.h
+++ b/blktrace_api.h
@@ -40,6 +40,8 @@ enum {
__BLK_TA_UNPLUG_IO, /* queue was unplugged by io */
__BLK_TA_UNPLUG_TIMER, /* queue was unplugged by timer */
__BLK_TA_INSERT, /* insert request */
+ __BLK_TA_SPLIT, /* bio was split */
+ __BLK_TA_BOUNCE, /* bio was bounced */
};
/*
@@ -57,6 +59,8 @@ enum {
#define BLK_TA_UNPLUG_IO (__BLK_TA_UNPLUG_IO | BLK_TC_ACT(BLK_TC_QUEUE))
#define BLK_TA_UNPLUG_TIMER (__BLK_TA_UNPLUG_TIMER | BLK_TC_ACT(BLK_TC_QUEUE))
#define BLK_TA_INSERT (__BLK_TA_INSERT | BLK_TC_ACT(BLK_TC_QUEUE))
+#define BLK_TA_SPLIT (__BLK_TA_SPLIT)
+#define BLK_TA_BOUNCE (__BLK_TA_BOUNCE)
#define BLK_IO_TRACE_MAGIC 0x65617400
#define BLK_IO_TRACE_VERSION 0x05