summaryrefslogtreecommitdiffstats
path: root/block/blk.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-09-14 01:40:12 +0200
committerJens Axboe <axboe@fb.com>2014-09-22 20:00:07 +0200
commit46f92d42ee37e10970e33891b7b61a342bd97aeb (patch)
treef8e8a59f0daa0c0fa4406a34b120d1d67b9a1c22 /block/blk.h
parentblk-mq: fix and simplify tag iteration for the timeout handler (diff)
downloadlinux-46f92d42ee37e10970e33891b7b61a342bd97aeb.tar.xz
linux-46f92d42ee37e10970e33891b7b61a342bd97aeb.zip
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 '')
-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,
unsigned int nr_bytes, unsigned int bidi_bytes);
void blk_rq_timed_out_timer(unsigned long data);
-void blk_rq_check_expired(struct request *rq, unsigned long *next_timeout,
- unsigned int *next_set);
unsigned long blk_rq_timeout(unsigned long timeout);
void blk_add_timer(struct request *req);
void blk_delete_timer(struct request *);