search for: timeout_list

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

Did you mean: timeout_left
2012 Jun 12
1
[PATCH v2] block: Drop dead function blk_abort_queue()
...ce, nothing to abort - */ - if (!q->request_fn) - return; - - spin_lock_irqsave(q->queue_lock, flags); - - elv_abort_queue(q); - - /* - * Splice entries to local list, to avoid deadlocking if entries - * get readded to the timeout list by error handling - */ - list_splice_init(&q->timeout_list, &list); - - list_for_each_entry_safe(rq, tmp, &list, timeout_list) - blk_abort_request(rq); - - /* - * Occasionally, blk_abort_request() will return without - * deleting the element from the list. Make sure we add those back - * instead of leaving them on the local stack list. - */ -...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...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(&rq->rb_node); rq->cmd = rq->__cmd; rq->cmd_len = BLK_MAX_CDB; rq->tag = -1; rq->ref_count = 1; rq->start_time =...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...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(&rq->rb_node); rq->cmd = rq->__cmd; rq->cmd_len = BLK_MAX_CDB; rq->tag = -1; rq->ref_count = 1; rq->start_time =...