diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blkdev.h | 9 | ||||
-rw-r--r-- | include/linux/elevator.h | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index c75580345700..6e59d3b92ff2 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -818,8 +818,6 @@ static inline void blk_run_address_space(struct address_space *mapping) | |||
818 | blk_run_backing_dev(mapping->backing_dev_info, NULL); | 818 | blk_run_backing_dev(mapping->backing_dev_info, NULL); |
819 | } | 819 | } |
820 | 820 | ||
821 | extern void blkdev_dequeue_request(struct request *req); | ||
822 | |||
823 | /* | 821 | /* |
824 | * blk_rq_pos() : the current sector | 822 | * blk_rq_pos() : the current sector |
825 | * blk_rq_bytes() : bytes left in the entire request | 823 | * blk_rq_bytes() : bytes left in the entire request |
@@ -853,6 +851,13 @@ static inline unsigned int blk_rq_cur_sectors(const struct request *rq) | |||
853 | } | 851 | } |
854 | 852 | ||
855 | /* | 853 | /* |
854 | * Request issue related functions. | ||
855 | */ | ||
856 | extern struct request *blk_peek_request(struct request_queue *q); | ||
857 | extern void blk_start_request(struct request *rq); | ||
858 | extern struct request *blk_fetch_request(struct request_queue *q); | ||
859 | |||
860 | /* | ||
856 | * Request completion related functions. | 861 | * Request completion related functions. |
857 | * | 862 | * |
858 | * blk_update_request() completes given number of bytes and updates | 863 | * blk_update_request() completes given number of bytes and updates |
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index 4e462878c9ca..1cb3372e65d8 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h | |||
@@ -103,10 +103,8 @@ extern int elv_merge(struct request_queue *, struct request **, struct bio *); | |||
103 | extern void elv_merge_requests(struct request_queue *, struct request *, | 103 | extern void elv_merge_requests(struct request_queue *, struct request *, |
104 | struct request *); | 104 | struct request *); |
105 | extern void elv_merged_request(struct request_queue *, struct request *, int); | 105 | extern void elv_merged_request(struct request_queue *, struct request *, int); |
106 | extern void elv_dequeue_request(struct request_queue *, struct request *); | ||
107 | extern void elv_requeue_request(struct request_queue *, struct request *); | 106 | extern void elv_requeue_request(struct request_queue *, struct request *); |
108 | extern int elv_queue_empty(struct request_queue *); | 107 | extern int elv_queue_empty(struct request_queue *); |
109 | extern struct request *elv_next_request(struct request_queue *q); | ||
110 | extern struct request *elv_former_request(struct request_queue *, struct request *); | 108 | extern struct request *elv_former_request(struct request_queue *, struct request *); |
111 | extern struct request *elv_latter_request(struct request_queue *, struct request *); | 109 | extern struct request *elv_latter_request(struct request_queue *, struct request *); |
112 | extern int elv_register_queue(struct request_queue *q); | 110 | extern int elv_register_queue(struct request_queue *q); |