summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peschke <mpeschke@linux.vnet.ibm.com>2009-01-21 14:58:35 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-01-21 14:58:35 +0100
commitb3ee499dd143aeaed311bf3bc6d14871168b6657 (patch)
tree45195e6c8321f682e31fe3b1ae18734d2f8d6a97
parent19cfaf3f4d8e53ce43cccd809676f8f2a40f0b34 (diff)
downloadblktrace-b3ee499dd143aeaed311bf3bc6d14871168b6657.tar.gz
blktrace-b3ee499dd143aeaed311bf3bc6d14871168b6657.tar.bz2
The git commit 11914a53d2ec2974a565311af327b8983d8c820d added __BLK_TA_ABORT
to blktrace_api.h. A corresponding addition to the blktrace tools repository has been missing, breaking the API. Blkparse complained: "Bad fs action 40010011" Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--blktrace_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/blktrace_api.h b/blktrace_api.h
index faefb15..7218845 100644
--- a/blktrace_api.h
+++ b/blktrace_api.h
@@ -48,6 +48,7 @@ enum {
__BLK_TA_SPLIT, /* bio was split */
__BLK_TA_BOUNCE, /* bio was bounced */
__BLK_TA_REMAP, /* bio was remapped */
+ __BLK_TA_ABORT, /* request aborted */
__BLK_TA_DRV_DATA, /* binary driver data */
};
@@ -78,6 +79,7 @@ enum blktrace_notify {
#define BLK_TA_SPLIT (__BLK_TA_SPLIT)
#define BLK_TA_BOUNCE (__BLK_TA_BOUNCE)
#define BLK_TA_REMAP (__BLK_TA_REMAP | BLK_TC_ACT(BLK_TC_QUEUE))
+#define BLK_TA_ABORT (__BLK_TA_ABORT | BLK_TC_ACT(BLK_TC_QUEUE))
#define BLK_TA_DRV_DATA (__BLK_TA_DRV_DATA | BLK_TC_ACT(BLK_TC_DRV_DATA))
#define BLK_TN_PROCESS (__BLK_TN_PROCESS | BLK_TC_ACT(BLK_TC_NOTIFY))