search for: queue_ctx

Displaying 2 results from an estimated 2 matches for "queue_ctx".

2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...e *bdev) struct backing_dev_info *ret = NULL; struct request_queue *q = bdev_get_queue(bdev); if (q) ret = &q->backing_dev_info; return ret; } EXPORT_SYMBOL(blk_get_backing_dev_info); -void blk_rq_init(struct request_queue *q, struct request *rq) +void blk_rq_init(struct blk_queue_ctx *ctx, struct request *rq) { memset(rq, 0, sizeof(*rq)); INIT_LIST_HEAD(&rq->queuelist); INIT_LIST_HEAD(&rq->timeout_list); rq->cpu = -1; - rq->q = q; + rq->queue_ctx = ctx; rq->__sector = (sector_t) -1; INIT_HLIST_NODE(&rq->hash); RB_CLEAR_NODE(&amp...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...e *bdev) struct backing_dev_info *ret = NULL; struct request_queue *q = bdev_get_queue(bdev); if (q) ret = &q->backing_dev_info; return ret; } EXPORT_SYMBOL(blk_get_backing_dev_info); -void blk_rq_init(struct request_queue *q, struct request *rq) +void blk_rq_init(struct blk_queue_ctx *ctx, struct request *rq) { memset(rq, 0, sizeof(*rq)); INIT_LIST_HEAD(&rq->queuelist); INIT_LIST_HEAD(&rq->timeout_list); rq->cpu = -1; - rq->q = q; + rq->queue_ctx = ctx; rq->__sector = (sector_t) -1; INIT_HLIST_NODE(&rq->hash); RB_CLEAR_NODE(&amp...