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>
Showing
- block/bfq-cgroup.c 3 additions, 2 deletionsblock/bfq-cgroup.c
- block/blk-cgroup.c 3 additions, 3 deletionsblock/blk-cgroup.c
- block/blk-iolatency.c 4 additions, 2 deletionsblock/blk-iolatency.c
- block/blk-throttle.c 4 additions, 2 deletionsblock/blk-throttle.c
- include/linux/blk-cgroup.h 2 additions, 1 deletioninclude/linux/blk-cgroup.h
Loading
Please register or sign in to comment