Displaying 2 results from an estimated 2 matches for "io_cq".
Did you mean:
io_cb
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...; REQ_ELVPRIV) {
- elv_put_request(q, rq);
+ elv_put_request(ctx, rq);
if (rq->elv.icq)
put_io_context(rq->elv.icq->ioc);
}
- mempool_free(rq, q->rq.rq_pool);
+ mempool_free(rq, q->rq_pool);
}
static struct request *
-blk_alloc_request(struct request_queue *q, struct io_cq *icq,
+blk_alloc_request(struct blk_queue_ctx *ctx, struct io_cq *icq,
unsigned int flags, gfp_t gfp_mask)
{
- struct request *rq = mempool_alloc(q->rq.rq_pool, gfp_mask);
+ struct request_queue *q = ctx->queue;
+ struct request *rq;
+ rq = mempool_alloc(q->rq_pool, gfp_mask);
if...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...; REQ_ELVPRIV) {
- elv_put_request(q, rq);
+ elv_put_request(ctx, rq);
if (rq->elv.icq)
put_io_context(rq->elv.icq->ioc);
}
- mempool_free(rq, q->rq.rq_pool);
+ mempool_free(rq, q->rq_pool);
}
static struct request *
-blk_alloc_request(struct request_queue *q, struct io_cq *icq,
+blk_alloc_request(struct blk_queue_ctx *ctx, struct io_cq *icq,
unsigned int flags, gfp_t gfp_mask)
{
- struct request *rq = mempool_alloc(q->rq.rq_pool, gfp_mask);
+ struct request_queue *q = ctx->queue;
+ struct request *rq;
+ rq = mempool_alloc(q->rq_pool, gfp_mask);
if...