aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-07-20 08:54:05 -0400
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-09-30 14:29:40 -0400
commitdc72ef4ae35c2016fb594bcc85ce871376682174 (patch)
treec0c78879addf0d65adcc8f8cce01165fa2502dac /include/linux/blkdev.h
parent981a79730d586335ef8f942c83bdf2b1de6d4e3d (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.h1
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);
635extern void blk_sync_queue(struct request_queue *q); 635extern void blk_sync_queue(struct request_queue *q);
636extern void __blk_stop_queue(request_queue_t *q); 636extern void __blk_stop_queue(request_queue_t *q);
637extern void blk_run_queue(request_queue_t *); 637extern void blk_run_queue(request_queue_t *);
638extern void blk_start_queueing(request_queue_t *);
638extern void blk_queue_activity_fn(request_queue_t *, activity_fn *, void *); 639extern void blk_queue_activity_fn(request_queue_t *, activity_fn *, void *);
639extern int blk_rq_map_user(request_queue_t *, struct request *, void __user *, unsigned int); 640extern int blk_rq_map_user(request_queue_t *, struct request *, void __user *, unsigned int);
640extern int blk_rq_unmap_user(struct bio *, unsigned int); 641extern int blk_rq_unmap_user(struct bio *, unsigned int);