commit | 04dc6e71a28d4815bf9431efcafc107bb0ad2792 | [log] [tgz] |
---|---|---|
author | Jeff Moyer <jmoyer@redhat.com> | Tue Apr 21 07:31:56 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Apr 22 08:35:11 2009 +0200 |
tree | dd51f2491b984d9f8f571f2bdc6b51cadb8c686d | |
parent | 4d00aa47e2337dcfe2d8a7215dbde3765b507167 [diff] |
cfq-iosched: use the default seek distance when there aren't enough seek samples If the cfq io context doesn't have enough samples yet to provide a mean seek distance, then use the default threshold we have for seeky IO instead of defaulting to 0. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>