diff options
author | Jens Axboe <axboe@suse.de> | 2006-07-20 08:54:05 -0400 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 14:29:40 -0400 |
commit | dc72ef4ae35c2016fb594bcc85ce871376682174 (patch) | |
tree | c0c78879addf0d65adcc8f8cce01165fa2502dac /include/linux/blkdev.h | |
parent | 981a79730d586335ef8f942c83bdf2b1de6d4e3d (diff) |
[PATCH] Add blk_start_queueing() helper
CFQ implements this on its own now, but it's really block layer
knowledge. Tells a device queue to start dispatching requests to
the driver, taking care to unplug if needed. Also fixes the issue
where as/cfq will invoke a stopped queue, which we really don't
want.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 6609371c303e..5d8e288db163 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -635,6 +635,7 @@ extern void blk_stop_queue(request_queue_t *q); | |||
635 | extern void blk_sync_queue(struct request_queue *q); | 635 | extern void blk_sync_queue(struct request_queue *q); |
636 | extern void __blk_stop_queue(request_queue_t *q); | 636 | extern void __blk_stop_queue(request_queue_t *q); |
637 | extern void blk_run_queue(request_queue_t *); | 637 | extern void blk_run_queue(request_queue_t *); |
638 | extern void blk_start_queueing(request_queue_t *); | ||
638 | extern void blk_queue_activity_fn(request_queue_t *, activity_fn *, void *); | 639 | extern void blk_queue_activity_fn(request_queue_t *, activity_fn *, void *); |
639 | extern int blk_rq_map_user(request_queue_t *, struct request *, void __user *, unsigned int); | 640 | extern int blk_rq_map_user(request_queue_t *, struct request *, void __user *, unsigned int); |
640 | extern int blk_rq_unmap_user(struct bio *, unsigned int); | 641 | extern int blk_rq_unmap_user(struct bio *, unsigned int); |