blkcg: associate writeback bios with a blkg
One of the goals of this series is to remove a separate reference to the css of the bio. This can and should be accessed via bio_blkcg(). In this patch, wbc_init_bio() now requires a bio to have a device associated with it. Signed-off-by:Dennis Zhou <dennis@kernel.org> Reviewed-by:
Josef Bacik <josef@toxicpanda.com> Acked-by:
Tejun Heo <tj@kernel.org> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- Documentation/admin-guide/cgroup-v2.rst 5 additions, 3 deletionsDocumentation/admin-guide/cgroup-v2.rst
- block/bio.c 18 additions, 0 deletionsblock/bio.c
- fs/buffer.c 5 additions, 5 deletionsfs/buffer.c
- fs/ext4/page-io.c 1 addition, 1 deletionfs/ext4/page-io.c
- include/linux/bio.h 5 additions, 0 deletionsinclude/linux/bio.h
- include/linux/writeback.h 3 additions, 2 deletionsinclude/linux/writeback.h
Loading
Please register or sign in to comment