]> git.baikalelectronics.ru Git - kernel.git/commit
blkio: Wait for cfq queue to get backlogged if group is empty
authorVivek Goyal <vgoyal@redhat.com>
Thu, 3 Dec 2009 17:59:53 +0000 (12:59 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 3 Dec 2009 18:28:53 +0000 (19:28 +0100)
commitde9ad66f6de0e348d82395d85c3bcff9da9017c6
treea3b2fb05298ea41ecc0fd7ad56e1218369f7f9fd
parentdf0d14dda2008f7e73be0094bae77d8b5b6c07d9
blkio: Wait for cfq queue to get backlogged if group is empty

o If a queue consumes its slice and then gets deleted from service tree, its
  associated group will also get deleted from service tree if this was the
  only queue in the group. That will make group loose its share.

o For the queues on which we have idling on and if these have used their
  slice, wait a bit for these queues to get backlogged again and then
  expire these queues so that group does not loose its share.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c