/* Move request from internal lists to the request queue dispatch list.  */
static void cfq_dispatch_insert(struct request_queue *, struct request *)
/* Move request from internal lists to the request queue dispatch list.  */
static void cfq_dispatch_insert(struct request_queue *, struct request *)
{
	struct cfq_data *cfqd = q->elevator->elevator_data;
	struct cfq_queue *cfqq = RQ_CFQQ(rq);
	cfq_log_cfqq(cfqd, cfqq, "dispatch_insert");
	cfqq->next_rq = cfq_find_next_rq(cfqd, cfqq, rq);
	cfq_remove_request(rq);
	cfqq->dispatched++;
	elv_dispatch_sort(q, rq);
	if (cfq_cfqq_sync(cfqq))
		cfqd->sync_flight++;
	cfqq->nr_sectors += blk_rq_sectors(rq);
}