]> git.baikalelectronics.ru Git - kernel.git/commit
blkio: Drop the reference to queue once the task changes cgroup
authorVivek Goyal <vgoyal@redhat.com>
Thu, 3 Dec 2009 17:59:51 +0000 (12:59 -0500)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 3 Dec 2009 18:28:52 +0000 (19:28 +0100)
commit6deea4214f683516be84cd446469bf69472df44d
treed258c695cfa320845212f71e8900af4d90538d6b
parent2828d234883ba8b7a9acbd709480da06fa64a7d7
blkio: Drop the reference to queue once the task changes cgroup

o If a task changes cgroup, drop reference to the cfqq associated with io
  context and set cfqq pointer stored in ioc to NULL so that upon next request
  arrival we will allocate a  new queue in new group.

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