/* Insert rq into dispatch queue of q. Queue lock must be held on entry. rq is added to the back of the dispatch queue. To be used by specific elevators.  */
void elv_dispatch_add_tail(struct request_queue *q, struct request *rq)
/* Insert rq into dispatch queue of q. Queue lock must be held on entry. rq is added to the back of the dispatch queue. To be used by specific elevators.  */
void elv_dispatch_add_tail(struct request_queue *q, struct request *rq)
{
	if (q->last_merge == rq)
		q->last_merge = NULL;
	elv_rqhash_del(q, rq);
	q->nr_sorted--;
	q->end_sector = rq_end_sector(rq);
	q->boundary_rq = rq;
	list_add_tail(&rq->queuelist, &q->queue_head);
}