]> git.karo-electronics.de Git - mv-sheeva.git/commit
blkio: Group time used accounting and workload context save restore
authorVivek Goyal <vgoyal@redhat.com>
Thu, 3 Dec 2009 17:59:45 +0000 (12:59 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 3 Dec 2009 18:28:52 +0000 (19:28 +0100)
commitdae739ebc4c590630039533a5bbd05865966094f
tree005f98ed4c4302ea71b48ad6a074fa6ff714df4a
parent58ff82f34cded3812af5b6c69b6aa626b6be2490
blkio: Group time used accounting and workload context save restore

o This patch introduces the functionality to do the accounting of group time
  when a queue expires. This time used decides which is the group to go
  next.

o Also introduce the functionlity to save and restore the workload type
  context with-in group. It might happen that once we expire the cfq queue
  and group, a different group will schedule in and we will lose the context
  of the workload type. Hence save and restore it upon queue expiry.

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