]> 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)
commit1dd6271750c6d68e7db92e0492f7523574f3674c
treefe93a7359f9de19bb6480a37847e76acfb64887f
parentea14a9332a273e398a06f218c740eaa00ab0ed4c
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