Commit 28f95425 authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds

[PATCH] Fix CFQ elevator problem

Remove bogus assert in CFQ and remove merge hints.
parent 70e2d422
...@@ -401,10 +401,9 @@ static struct request *cfq_next_request(request_queue_t *q) ...@@ -401,10 +401,9 @@ static struct request *cfq_next_request(request_queue_t *q)
dispatch: dispatch:
rq = list_entry_rq(cfqd->dispatch->next); rq = list_entry_rq(cfqd->dispatch->next);
BUG_ON(q->last_merge == rq);
crq = RQ_DATA(rq); crq = RQ_DATA(rq);
if (crq) if (crq)
BUG_ON(ON_MHASH(crq)); cfq_remove_merge_hints(q, crq);
return rq; return rq;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment