search for: el_ret

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

2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...eq->bio; req->bio = bio; /* * may not be valid. if the low level driver said @@ -1274,28 +1247,28 @@ static bool attempt_plug_merge(struct request_queue *q, struct bio *bio, goto out; *request_count = 0; list_for_each_entry_reverse(rq, &plug->list, queuelist) { int el_ret; if (rq->q == q) (*request_count)++; - if (rq->q != q || !blk_rq_merge_ok(rq, bio)) + if (rq->queue_ctx->queue != q || !blk_rq_merge_ok(rq, bio)) continue; el_ret = blk_try_merge(rq, bio); if (el_ret == ELEVATOR_BACK_MERGE) { - ret = bio_attempt_back_merge(q,...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...eq->bio; req->bio = bio; /* * may not be valid. if the low level driver said @@ -1274,28 +1247,28 @@ static bool attempt_plug_merge(struct request_queue *q, struct bio *bio, goto out; *request_count = 0; list_for_each_entry_reverse(rq, &plug->list, queuelist) { int el_ret; if (rq->q == q) (*request_count)++; - if (rq->q != q || !blk_rq_merge_ok(rq, bio)) + if (rq->queue_ctx->queue != q || !blk_rq_merge_ok(rq, bio)) continue; el_ret = blk_try_merge(rq, bio); if (el_ret == ELEVATOR_BACK_MERGE) { - ret = bio_attempt_back_merge(q,...