aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blktrace_api.h
diff options
context:
space:
mode:
authorMike Anderson <andmike@linux.vnet.ibm.com>2008-09-13 14:31:27 -0400
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 02:56:13 -0400
commit11914a53d2ec2974a565311af327b8983d8c820d (patch)
tree72713d2661ed56fa5d9e29203541bad32c88a3ba /include/linux/blktrace_api.h
parent242f9dcb8ba6f68fcd217a119a7648a4f69290e9 (diff)
block: Add interface to abort queued requests
Signed-off-by: Mike Anderson <andmike@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r--include/linux/blktrace_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h
index 27da2cc682ee..dcaf2452ed1f 100644
--- a/include/linux/blktrace_api.h
+++ b/include/linux/blktrace_api.h
@@ -48,6 +48,7 @@ enum blktrace_act {
48 __BLK_TA_SPLIT, /* bio was split */ 48 __BLK_TA_SPLIT, /* bio was split */
49 __BLK_TA_BOUNCE, /* bio was bounced */ 49 __BLK_TA_BOUNCE, /* bio was bounced */
50 __BLK_TA_REMAP, /* bio was remapped */ 50 __BLK_TA_REMAP, /* bio was remapped */
51 __BLK_TA_ABORT, /* request aborted */
51}; 52};
52 53
53/* 54/*
@@ -78,6 +79,7 @@ enum blktrace_notify {
78#define BLK_TA_SPLIT (__BLK_TA_SPLIT) 79#define BLK_TA_SPLIT (__BLK_TA_SPLIT)
79#define BLK_TA_BOUNCE (__BLK_TA_BOUNCE) 80#define BLK_TA_BOUNCE (__BLK_TA_BOUNCE)
80#define BLK_TA_REMAP (__BLK_TA_REMAP | BLK_TC_ACT(BLK_TC_QUEUE)) 81#define BLK_TA_REMAP (__BLK_TA_REMAP | BLK_TC_ACT(BLK_TC_QUEUE))
82#define BLK_TA_ABORT (__BLK_TA_ABORT | BLK_TC_ACT(BLK_TC_QUEUE))
81 83
82#define BLK_TN_PROCESS (__BLK_TN_PROCESS | BLK_TC_ACT(BLK_TC_NOTIFY)) 84#define BLK_TN_PROCESS (__BLK_TN_PROCESS | BLK_TC_ACT(BLK_TC_NOTIFY))
83#define BLK_TN_TIMESTAMP (__BLK_TN_TIMESTAMP | BLK_TC_ACT(BLK_TC_NOTIFY)) 85#define BLK_TN_TIMESTAMP (__BLK_TN_TIMESTAMP | BLK_TC_ACT(BLK_TC_NOTIFY))