commit | b2c18e1e08a5a9663094d57bb4be2f02226ee61c | [log] [tgz] |
---|---|---|
author | Jeff Moyer <jmoyer@redhat.com> | Fri Oct 23 17:14:49 2009 -0400 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 26 14:34:46 2009 +0100 |
tree | 55c092706a0d8a9e645f245bf2ecc45c29ba5aa7 | |
parent | c30f33437c3f85ec48353a1ef811e148217a2aaf [diff] |
cfq: calculate the seek_mean per cfq_queue not per cfq_io_context async cfq_queue's are already shared between processes within the same priority, and forthcoming patches will change the mapping of cic to sync cfq_queue from 1:1 to 1:N. So, calculate the seekiness of a process based on the cfq_queue instead of the cfq_io_context. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>