aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 4a99b76c5a33..235c3414d268 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -396,6 +396,7 @@ struct request_queue
396 */ 396 */
397 unsigned int sg_timeout; 397 unsigned int sg_timeout;
398 unsigned int sg_reserved_size; 398 unsigned int sg_reserved_size;
399 int node;
399 400
400 struct list_head drain_list; 401 struct list_head drain_list;
401 402
@@ -615,6 +616,8 @@ static inline void blkdev_dequeue_request(struct request *req)
615/* 616/*
616 * Access functions for manipulating queue properties 617 * Access functions for manipulating queue properties
617 */ 618 */
619extern request_queue_t *blk_init_queue_node(request_fn_proc *rfn,
620 spinlock_t *lock, int node_id);
618extern request_queue_t *blk_init_queue(request_fn_proc *, spinlock_t *); 621extern request_queue_t *blk_init_queue(request_fn_proc *, spinlock_t *);
619extern void blk_cleanup_queue(request_queue_t *); 622extern void blk_cleanup_queue(request_queue_t *);
620extern void blk_queue_make_request(request_queue_t *, make_request_fn *); 623extern void blk_queue_make_request(request_queue_t *, make_request_fn *);
@@ -646,7 +649,8 @@ extern void blk_wait_queue_drained(request_queue_t *, int);
646extern void blk_finish_queue_drain(request_queue_t *); 649extern void blk_finish_queue_drain(request_queue_t *);
647 650
648int blk_get_queue(request_queue_t *); 651int blk_get_queue(request_queue_t *);
649request_queue_t *blk_alloc_queue(int); 652request_queue_t *blk_alloc_queue(int gfp_mask);
653request_queue_t *blk_alloc_queue_node(int,int);
650#define blk_put_queue(q) blk_cleanup_queue((q)) 654#define blk_put_queue(q) blk_cleanup_queue((q))
651 655
652/* 656/*