diff options
| author | Jens Axboe <axboe@kernel.dk> | 2018-10-31 11:43:30 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 15:42:33 -0500 |
| commit | c7bb9ad1744ea14e61e5fff99ee5282709b0c9d9 (patch) | |
| tree | 473721096fed4efbe49ff19fd1f5efa6da9bf00e /include/linux/blkdev.h | |
| parent | 7d692330e7cd581ccfee982334bf06b236cb999a (diff) | |
block: get rid of q->softirq_done_fn()
With the legacy path gone, all we do is funnel it through the
mq_ops->complete() operation.
Tested-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index c675e2b5af62..d4104844d6bb 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -290,7 +290,6 @@ typedef blk_qc_t (make_request_fn) (struct request_queue *q, struct bio *bio); | |||
| 290 | typedef bool (poll_q_fn) (struct request_queue *q, blk_qc_t); | 290 | typedef bool (poll_q_fn) (struct request_queue *q, blk_qc_t); |
| 291 | 291 | ||
| 292 | struct bio_vec; | 292 | struct bio_vec; |
| 293 | typedef void (softirq_done_fn)(struct request *); | ||
| 294 | typedef int (dma_drain_needed_fn)(struct request *); | 293 | typedef int (dma_drain_needed_fn)(struct request *); |
| 295 | 294 | ||
| 296 | enum blk_eh_timer_return { | 295 | enum blk_eh_timer_return { |
| @@ -407,7 +406,6 @@ struct request_queue { | |||
| 407 | 406 | ||
| 408 | make_request_fn *make_request_fn; | 407 | make_request_fn *make_request_fn; |
| 409 | poll_q_fn *poll_fn; | 408 | poll_q_fn *poll_fn; |
| 410 | softirq_done_fn *softirq_done_fn; | ||
| 411 | dma_drain_needed_fn *dma_drain_needed; | 409 | dma_drain_needed_fn *dma_drain_needed; |
| 412 | 410 | ||
| 413 | const struct blk_mq_ops *mq_ops; | 411 | const struct blk_mq_ops *mq_ops; |
| @@ -1113,7 +1111,6 @@ extern void blk_queue_segment_boundary(struct request_queue *, unsigned long); | |||
| 1113 | extern void blk_queue_virt_boundary(struct request_queue *, unsigned long); | 1111 | extern void blk_queue_virt_boundary(struct request_queue *, unsigned long); |
| 1114 | extern void blk_queue_dma_alignment(struct request_queue *, int); | 1112 | extern void blk_queue_dma_alignment(struct request_queue *, int); |
| 1115 | extern void blk_queue_update_dma_alignment(struct request_queue *, int); | 1113 | extern void blk_queue_update_dma_alignment(struct request_queue *, int); |
| 1116 | extern void blk_queue_softirq_done(struct request_queue *, softirq_done_fn *); | ||
| 1117 | extern void blk_queue_rq_timeout(struct request_queue *, unsigned int); | 1114 | extern void blk_queue_rq_timeout(struct request_queue *, unsigned int); |
| 1118 | extern void blk_queue_flush_queueable(struct request_queue *q, bool queueable); | 1115 | extern void blk_queue_flush_queueable(struct request_queue *q, bool queueable); |
| 1119 | extern void blk_queue_write_cache(struct request_queue *q, bool enabled, bool fua); | 1116 | extern void blk_queue_write_cache(struct request_queue *q, bool enabled, bool fua); |
