Displaying 2 results from an estimated 2 matches for "get_rq".
Did you mean:
get_rr
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...a
* certain limit bounced to low memory (ie for highmem, or even
* ISA dma in theory)
*/
blk_queue_bounce(q, &bio);
if (bio->bi_rw & (REQ_FLUSH | REQ_FUA)) {
- spin_lock_irq(q->queue_lock);
+ spin_lock_irq(&ctx->lock);
where = ELEVATOR_INSERT_FLUSH;
goto get_rq;
}
/*
* Check if we can merge with the plugged list before grabbing
* any locks.
*/
if (attempt_plug_merge(q, bio, &request_count))
return;
- spin_lock_irq(q->queue_lock);
+ spin_lock_irq(&ctx->lock);
- el_ret = elv_merge(q, &req, bio);
+ el_ret = elv_merge...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...a
* certain limit bounced to low memory (ie for highmem, or even
* ISA dma in theory)
*/
blk_queue_bounce(q, &bio);
if (bio->bi_rw & (REQ_FLUSH | REQ_FUA)) {
- spin_lock_irq(q->queue_lock);
+ spin_lock_irq(&ctx->lock);
where = ELEVATOR_INSERT_FLUSH;
goto get_rq;
}
/*
* Check if we can merge with the plugged list before grabbing
* any locks.
*/
if (attempt_plug_merge(q, bio, &request_count))
return;
- spin_lock_irq(q->queue_lock);
+ spin_lock_irq(&ctx->lock);
- el_ret = elv_merge(q, &req, bio);
+ el_ret = elv_merge...