diff options
author | Christoph Hellwig <hch@lst.de> | 2014-09-13 19:40:12 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-09-22 14:00:07 -0400 |
commit | 46f92d42ee37e10970e33891b7b61a342bd97aeb (patch) | |
tree | f8e8a59f0daa0c0fa4406a34b120d1d67b9a1c22 /block/blk.h | |
parent | 81481eb423c295c5480a3fab9bb961cf286c91e7 (diff) |
blk-mq: unshared timeout handler
Duplicate the (small) timeout handler in blk-mq so that we can pass
arguments more easily to the driver timeout handler. This enables
the next patch.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk.h')
-rw-r--r-- | block/blk.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk.h b/block/blk.h index 6748c4f8d7a1..e515a285d4c9 100644 --- a/block/blk.h +++ b/block/blk.h | |||
@@ -38,8 +38,6 @@ bool __blk_end_bidi_request(struct request *rq, int error, | |||
38 | unsigned int nr_bytes, unsigned int bidi_bytes); | 38 | unsigned int nr_bytes, unsigned int bidi_bytes); |
39 | 39 | ||
40 | void blk_rq_timed_out_timer(unsigned long data); | 40 | void blk_rq_timed_out_timer(unsigned long data); |
41 | void blk_rq_check_expired(struct request *rq, unsigned long *next_timeout, | ||
42 | unsigned int *next_set); | ||
43 | unsigned long blk_rq_timeout(unsigned long timeout); | 41 | unsigned long blk_rq_timeout(unsigned long timeout); |
44 | void blk_add_timer(struct request *req); | 42 | void blk_add_timer(struct request *req); |
45 | void blk_delete_timer(struct request *); | 43 | void blk_delete_timer(struct request *); |