]> git.karo-electronics.de Git - karo-tx-linux.git/commit
blk-throttle: Dynamically allocate root group
authorVivek Goyal <vgoyal@redhat.com>
Thu, 19 May 2011 19:38:24 +0000 (15:38 -0400)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 20 May 2011 18:34:52 +0000 (20:34 +0200)
commit29b125892f3317ada86b662e0b6ebc0f79be9037
treea8caa5a8d521c0d667bbae956ff4d8b160ad02d9
parentf469a7b4d5b1d1d053200a9015fd25d59c057f49
blk-throttle: Dynamically allocate root group

Currently, we allocate root throtl_grp statically. But as we will be
introducing per cpu stat pointers and that will be allocated
dynamically even for root group, we might as well make whole root
throtl_grp allocation dynamic and treat it in same manner as other
groups.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-throttle.c