commit | c553f8e335c00a7cff3ab3f13e793b13d3f2207f | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Fri Jan 14 08:41:03 2011 +0100 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri Jan 14 08:41:03 2011 +0100 |
tree | f9371c9e1191711dd2e774e04d99f3fa90d697fa | |
parent | f8ae6e3eb8251be32c6e913393d9f8d9e0609489 [diff] |
block cfq: compensate preempted queue even if it has no slice assigned If a queue is preempted before it gets slice assigned, the queue doesn't get compensation, which looks unfair. For such queue, we compensate it for a whole slice. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>