search for: elv_set_request

Displaying 3 results from an estimated 3 matches for "elv_set_request".

Did you mean: elv_next_request
2006 Jan 06
2
3ware disk failure -> hang
...Jan 6 01:04:10 $SERVER kernel: [<c0221f68>] __generic_unplug_device+0x2b/0x2d Jan 6 01:04:10 $SERVER kernel: [<c0221f7f>] generic_unplug_device+0x15/0x21 Jan 6 01:04:10 $SERVER kernel: [<c022288d>] blk_execute_rq+0x88/0xb0 Jan 6 01:04:10 $SERVER kernel: [<c022096e>] elv_set_request+0xa/0x17 Jan 6 01:04:10 $SERVER kernel: [<c022251f>] get_request+0x1de/0x1e8 Jan 6 01:04:10 $SERVER kernel: [<c01a97c3>] task_has_capability+0x4a/0x52 Jan 6 01:04:10 $SERVER kernel: [<c0225cd5>] sg_scsi_ioctl+0x2bf/0x3c1 Jan 6 01:04:10 $SERVER kernel: [<c02261aa>] sc...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...request_queue *q = ctx->queue; + struct request *rq; + rq = mempool_alloc(q->rq_pool, gfp_mask); if (!rq) return NULL; - blk_rq_init(q, rq); + blk_rq_init(ctx, rq); rq->cmd_flags = flags | REQ_ALLOCED; if (flags & REQ_ELVPRIV) { rq->elv.icq = icq; - if (unlikely(elv_set_request(q, rq, gfp_mask))) { - mempool_free(rq, q->rq.rq_pool); + if (unlikely(elv_set_request(ctx, rq, gfp_mask))) { + mempool_free(rq, q->rq_pool); return NULL; } /* @rq->elv.icq holds on to io_context until @rq is freed */ if (icq) get_io_context(icq->ioc); } retu...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...request_queue *q = ctx->queue; + struct request *rq; + rq = mempool_alloc(q->rq_pool, gfp_mask); if (!rq) return NULL; - blk_rq_init(q, rq); + blk_rq_init(ctx, rq); rq->cmd_flags = flags | REQ_ALLOCED; if (flags & REQ_ELVPRIV) { rq->elv.icq = icq; - if (unlikely(elv_set_request(q, rq, gfp_mask))) { - mempool_free(rq, q->rq.rq_pool); + if (unlikely(elv_set_request(ctx, rq, gfp_mask))) { + mempool_free(rq, q->rq_pool); return NULL; } /* @rq->elv.icq holds on to io_context until @rq is freed */ if (icq) get_io_context(icq->ioc); } retu...