diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blkdev.h | 1 | ||||
-rw-r--r-- | include/linux/blktrace_api.h | 2 | ||||
-rw-r--r-- | include/linux/elevator.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 067f28b80072..37781d6fe045 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -788,6 +788,7 @@ extern int blk_end_request_callback(struct request *rq, int error, | |||
788 | extern void blk_complete_request(struct request *); | 788 | extern void blk_complete_request(struct request *); |
789 | extern void __blk_complete_request(struct request *); | 789 | extern void __blk_complete_request(struct request *); |
790 | extern void blk_abort_request(struct request *); | 790 | extern void blk_abort_request(struct request *); |
791 | extern void blk_abort_queue(struct request_queue *); | ||
791 | 792 | ||
792 | /* | 793 | /* |
793 | * blk_end_request() takes bytes instead of sectors as a complete size. | 794 | * blk_end_request() takes bytes instead of sectors as a complete size. |
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)) |
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index bb791c311a56..92f6f634e3e6 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h | |||
@@ -112,6 +112,7 @@ extern struct request *elv_latter_request(struct request_queue *, struct request | |||
112 | extern int elv_register_queue(struct request_queue *q); | 112 | extern int elv_register_queue(struct request_queue *q); |
113 | extern void elv_unregister_queue(struct request_queue *q); | 113 | extern void elv_unregister_queue(struct request_queue *q); |
114 | extern int elv_may_queue(struct request_queue *, int); | 114 | extern int elv_may_queue(struct request_queue *, int); |
115 | extern void elv_abort_queue(struct request_queue *); | ||
115 | extern void elv_completed_request(struct request_queue *, struct request *); | 116 | extern void elv_completed_request(struct request_queue *, struct request *); |
116 | extern int elv_set_request(struct request_queue *, struct request *, gfp_t); | 117 | extern int elv_set_request(struct request_queue *, struct request *, gfp_t); |
117 | extern void elv_put_request(struct request_queue *, struct request *); | 118 | extern void elv_put_request(struct request_queue *, struct request *); |