cfq: calculate the seek_mean per cfq_queue not per cfq_io_context
authorJeff Moyer <jmoyer@redhat.com>
Fri, 23 Oct 2009 21:14:49 +0000 (17:14 -0400)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 26 Oct 2009 13:34:46 +0000 (14:34 +0100)
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>

No differences found