aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-09-13 19:40:12 -0400
committerJens Axboe <axboe@fb.com>2014-09-22 14:00:07 -0400
commit46f92d42ee37e10970e33891b7b61a342bd97aeb (patch)
treef8e8a59f0daa0c0fa4406a34b120d1d67b9a1c22 /block/blk.h
parent81481eb423c295c5480a3fab9bb961cf286c91e7 (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.h2
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
40void blk_rq_timed_out_timer(unsigned long data); 40void blk_rq_timed_out_timer(unsigned long data);
41void blk_rq_check_expired(struct request *rq, unsigned long *next_timeout,
42 unsigned int *next_set);
43unsigned long blk_rq_timeout(unsigned long timeout); 41unsigned long blk_rq_timeout(unsigned long timeout);
44void blk_add_timer(struct request *req); 42void blk_add_timer(struct request *req);
45void blk_delete_timer(struct request *); 43void blk_delete_timer(struct request *);