]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68d0e7052c7aeca8a7d24566305359be008ee805
treef9371c9e1191711dd2e774e04d99f3fa90d697fa
parent9669155a2760bab8845ee4b2cb2404f9e5bbe262
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>
block/cfq-iosched.c