aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2010-07-03 04:45:40 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 12:24:15 -0400
commit00fff26539bfe3fad21c164fc4002d9ede056fb0 (patch)
tree4909c8eed03133b1d46f689e465ed1f579b8e282 /include
parentafc23068103ccfbf1917eb2a007bc15ab5418cc9 (diff)
block: remove q->prepare_flush_fn completely
This removes q->prepare_flush_fn completely (changes the blk_queue_ordered API). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/blkdev.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 6bba04c7ec48..3a2c5d9a9288 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -212,7 +212,6 @@ struct bvec_merge_data {
212}; 212};
213typedef int (merge_bvec_fn) (struct request_queue *, struct bvec_merge_data *, 213typedef int (merge_bvec_fn) (struct request_queue *, struct bvec_merge_data *,
214 struct bio_vec *); 214 struct bio_vec *);
215typedef void (prepare_flush_fn) (struct request_queue *, struct request *);
216typedef void (softirq_done_fn)(struct request *); 215typedef void (softirq_done_fn)(struct request *);
217typedef int (dma_drain_needed_fn)(struct request *); 216typedef int (dma_drain_needed_fn)(struct request *);
218typedef int (lld_busy_fn) (struct request_queue *q); 217typedef int (lld_busy_fn) (struct request_queue *q);
@@ -286,7 +285,6 @@ struct request_queue
286 unprep_rq_fn *unprep_rq_fn; 285 unprep_rq_fn *unprep_rq_fn;
287 unplug_fn *unplug_fn; 286 unplug_fn *unplug_fn;
288 merge_bvec_fn *merge_bvec_fn; 287 merge_bvec_fn *merge_bvec_fn;
289 prepare_flush_fn *prepare_flush_fn;
290 softirq_done_fn *softirq_done_fn; 288 softirq_done_fn *softirq_done_fn;
291 rq_timed_out_fn *rq_timed_out_fn; 289 rq_timed_out_fn *rq_timed_out_fn;
292 dma_drain_needed_fn *dma_drain_needed; 290 dma_drain_needed_fn *dma_drain_needed;
@@ -896,7 +894,7 @@ extern void blk_queue_softirq_done(struct request_queue *, softirq_done_fn *);
896extern void blk_queue_rq_timed_out(struct request_queue *, rq_timed_out_fn *); 894extern void blk_queue_rq_timed_out(struct request_queue *, rq_timed_out_fn *);
897extern void blk_queue_rq_timeout(struct request_queue *, unsigned int); 895extern void blk_queue_rq_timeout(struct request_queue *, unsigned int);
898extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev); 896extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev);
899extern int blk_queue_ordered(struct request_queue *, unsigned, prepare_flush_fn *); 897extern int blk_queue_ordered(struct request_queue *, unsigned);
900extern bool blk_do_ordered(struct request_queue *, struct request **); 898extern bool blk_do_ordered(struct request_queue *, struct request **);
901extern unsigned blk_ordered_cur_seq(struct request_queue *); 899extern unsigned blk_ordered_cur_seq(struct request_queue *);
902extern unsigned blk_ordered_req_seq(struct request *); 900extern unsigned blk_ordered_req_seq(struct request *);