cfq-iosched: fix issue with rq-rq merging and fifo list ordering
authorJens Axboe <jens.axboe@oracle.com>
Mon, 5 Oct 2009 09:03:39 +0000 (11:03 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 5 Oct 2009 09:03:39 +0000 (11:03 +0200)
cfq uses rq->start_time as the fifo indicator, but that field may
get modified prior to cfq doing it's fifo list adjustment when
a request gets merged with another request. This can cause the
fifo list to become unordered.

Reported-by: Corrado Zoccolo <czoccolo@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found