summaryrefslogtreecommitdiff
path: root/block/as-iosched.c
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2009-04-21 07:31:56 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-04-22 08:35:11 +0200
commit04dc6e71a28d4815bf9431efcafc107bb0ad2792 (patch)
treedd51f2491b984d9f8f571f2bdc6b51cadb8c686d /block/as-iosched.c
parent4d00aa47e2337dcfe2d8a7215dbde3765b507167 (diff)
downloadlwn-04dc6e71a28d4815bf9431efcafc107bb0ad2792.tar.gz
lwn-04dc6e71a28d4815bf9431efcafc107bb0ad2792.zip
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>
Diffstat (limited to 'block/as-iosched.c')
0 files changed, 0 insertions, 0 deletions