blkcg: remove bio->bi_css and instead use bio->bi_blkg
authorDennis Zhou <dennis@kernel.org>
Wed, 5 Dec 2018 17:10:35 +0000 (12:10 -0500)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Dec 2018 05:26:37 +0000 (22:26 -0700)
commitdb6638d7d177a8bc74c9e539e2e0d7d061c767b1
tree4d797db1677ed41d4c59857f680ef05ff1902b07
parentfd42df305f804ddc0d5ac028e944784283b2f92d
blkcg: remove bio->bi_css and instead use bio->bi_blkg

Prior patches ensured that any bio that interacts with a request_queue
is properly associated with a blkg. This makes bio->bi_css unnecessary
as blkg maintains a reference to blkcg already.

This removes the bio field bi_css and transfers corresponding uses to
access via bi_blkg.

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>
block/bio.c
block/bounce.c
drivers/block/loop.c
drivers/md/raid0.c
include/linux/bio.h
include/linux/blk-cgroup.h
include/linux/blk_types.h
kernel/trace/blktrace.c