summaryrefslogtreecommitdiffstats
path: root/kernel/kthread.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 /kernel/kthread.c
parent4d00aa47e2337dcfe2d8a7215dbde3765b507167 (diff)
downloadop-kernel-dev-04dc6e71a28d4815bf9431efcafc107bb0ad2792.zip
op-kernel-dev-04dc6e71a28d4815bf9431efcafc107bb0ad2792.tar.gz
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 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud