]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: make seek_mean converge more quickly
authorJeff Moyer <jmoyer@redhat.com>
Tue, 21 Apr 2009 05:25:04 +0000 (07:25 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 22 Apr 2009 06:35:11 +0000 (08:35 +0200)
commitc240a2cd2687074369fc297ab03c094a3476542a
tree069f0c202e6a3f3017b0a8b4320b31172bcc1071
parentb50a2adcd1d9f4de2c3b5d86a9e5d90d2ab4c92f
cfq-iosched: make seek_mean converge more quickly

Right now, depending on the first sector to which a process issues I/O,
the seek time may start out way out of whack. So make sure we start
with 0 sectors in seek, instead of the offset of the first request
issued.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c