summaryrefslogtreecommitdiff
path: root/blktrace_api.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2005-09-21 17:35:30 +0200
committerJens Axboe <axboe@suse.de>2005-09-21 17:35:30 +0200
commitb6076a9b2877a16f6d59f55a70dc01ab916a59e1 (patch)
tree1428800e0b904687c60bdaea07589499ca1bb870 /blktrace_api.h
parent9f6486bd321973c5b8d4ba570c25d90db0d347ad (diff)
downloadblktrace-b6076a9b2877a16f6d59f55a70dc01ab916a59e1.tar.gz
blktrace-b6076a9b2877a16f6d59f55a70dc01ab916a59e1.tar.bz2
[PATCH] blkparse: split queue and insert into two operations
We need this to support md/dm actions.
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 a1eb4c8..0302cfe 100644
--- a/blktrace_api.h
+++ b/blktrace_api.h
@@ -39,7 +39,7 @@ enum {
__BLK_TA_PLUG, /* queue was plugged */
__BLK_TA_UNPLUG_IO, /* queue was unplugged by io */
__BLK_TA_UNPLUG_TIMER, /* queue was unplugged by timer */
- __BLK_TA_IOSCHED, /* some io scheduler defined action */
+ __BLK_TA_INSERT, /* insert request */
};
/*
@@ -56,6 +56,7 @@ enum {
#define BLK_TA_PLUG (__BLK_TA_PLUG | BLK_TC_ACT(BLK_TC_QUEUE))
#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_IO_TRACE_MAGIC 0x65617400
#define BLK_IO_TRACE_VERSION 0x05