search for: fail_icq

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

2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...lags |= REQ_IO_STAT; - spin_unlock_irq(q->queue_lock); + + if (drop_lock) + spin_unlock_irq(&ctx->lock); /* create icq if missing */ if ((rw_flags & REQ_ELVPRIV) && unlikely(et->icq_cache && !icq)) { icq = ioc_create_icq(q, gfp_mask); if (!icq) goto fail_icq; } - rq = blk_alloc_request(q, icq, rw_flags, gfp_mask); - + rq = blk_alloc_request(ctx, icq, rw_flags, gfp_mask); fail_icq: if (unlikely(!rq)) { /* * Allocation failed presumably due to memory. Undo anything * we might have messed up. * * Allocating task should really be...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...lags |= REQ_IO_STAT; - spin_unlock_irq(q->queue_lock); + + if (drop_lock) + spin_unlock_irq(&ctx->lock); /* create icq if missing */ if ((rw_flags & REQ_ELVPRIV) && unlikely(et->icq_cache && !icq)) { icq = ioc_create_icq(q, gfp_mask); if (!icq) goto fail_icq; } - rq = blk_alloc_request(q, icq, rw_flags, gfp_mask); - + rq = blk_alloc_request(ctx, icq, rw_flags, gfp_mask); fail_icq: if (unlikely(!rq)) { /* * Allocation failed presumably due to memory. Undo anything * we might have messed up. * * Allocating task should really be...