]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - block/blk-iolatency.c
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)
commitcf09a8ee19ad1f78b4e18cdde9f2a61133efacf5
treefe93a7359f9de19bb6480a37847e76acfb64887f
parentda8c828190fcd04662f594f3e00a184885aa5aa3
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