]> git.baikalelectronics.ru Git - kernel.git/commit
blkcg: pass @q and @blkcg into blkcg_pol_alloc_pd_fn()
authorTejun Heo <tj@kernel.org>
Wed, 28 Aug 2019 22:05:51 +0000 (15:05 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Aug 2019 03:17:01 +0000 (21:17 -0600)
commit6783a45170f279628db75c084696ccd820d83387
treefe93a7359f9de19bb6480a37847e76acfb64887f
parent33e233299637e00fcbcc1d5acc3e30ca5c37e7c1
blkcg: pass @q and @blkcg into blkcg_pol_alloc_pd_fn()

Instead of @node, pass in @q and @blkcg so that the alloc function has
more context.  This doesn't cause any behavior change and will be used
by io.weight implementation.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-cgroup.c
block/blk-cgroup.c
block/blk-iolatency.c
block/blk-throttle.c
include/linux/blk-cgroup.h