block cfq: compensate preempted queue even if it has no slice assigned
authorShaohua Li <shaohua.li@intel.com>
Fri, 14 Jan 2011 07:41:03 +0000 (08:41 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 14 Jan 2011 07:41:03 +0000 (08:41 +0100)
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>

No differences found