diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 6 |
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 | */ |
619 | extern request_queue_t *blk_init_queue_node(request_fn_proc *rfn, | ||
620 | spinlock_t *lock, int node_id); | ||
618 | extern request_queue_t *blk_init_queue(request_fn_proc *, spinlock_t *); | 621 | extern request_queue_t *blk_init_queue(request_fn_proc *, spinlock_t *); |
619 | extern void blk_cleanup_queue(request_queue_t *); | 622 | extern void blk_cleanup_queue(request_queue_t *); |
620 | extern void blk_queue_make_request(request_queue_t *, make_request_fn *); | 623 | extern 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); | |||
646 | extern void blk_finish_queue_drain(request_queue_t *); | 649 | extern void blk_finish_queue_drain(request_queue_t *); |
647 | 650 | ||
648 | int blk_get_queue(request_queue_t *); | 651 | int blk_get_queue(request_queue_t *); |
649 | request_queue_t *blk_alloc_queue(int); | 652 | request_queue_t *blk_alloc_queue(int gfp_mask); |
653 | request_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 | /* |