diff options
author | Jeff Moyer <jmoyer@redhat.com> | 2009-04-21 07:31:56 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-22 08:35:11 +0200 |
commit | 04dc6e71a28d4815bf9431efcafc107bb0ad2792 (patch) | |
tree | dd51f2491b984d9f8f571f2bdc6b51cadb8c686d /lib/parser.c | |
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>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions