]> git.baikalelectronics.ru Git - kernel.git/commit
blkio: Implement macro to traverse each service tree in group
authorVivek Goyal <vgoyal@redhat.com>
Thu, 3 Dec 2009 17:59:39 +0000 (12:59 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 3 Dec 2009 18:28:51 +0000 (19:28 +0100)
commit49d748b3839579423609a0fdb2eaa29abbf2e112
tree36ae080bc809a8d998801c0bcfc0d63b7b892745
parent2c85f4a09ef7ee3f614447ed45edc2ad8808fe10
blkio: Implement macro to traverse each service tree in group

o Implement a macro to traverse each service tree in the group. This avoids
  usage of double for loop and special condition for idle tree 4 times.

o Macro is little twisted because of special handling of idle class service
  tree.

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