blkcg: remove bio->bi_css and instead use bio->bi_blkg
authorDennis Zhou (Facebook) <dennisszhou@gmail.com>
Tue, 11 Sep 2018 18:41:33 +0000 (14:41 -0400)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Sep 2018 02:29:13 +0000 (20:29 -0600)
commitc839e7a03f92bafd71fd145b470dcdc7f43f2d4c
tree2327729d2f67268d179beb22f4ef9db44b156af1
parentbdc2491708c47601603918a9a20acddef6e1d814
blkcg: remove bio->bi_css and instead use bio->bi_blkg

Prior patches ensured that all bios are now associated with some blkg.
This now makes bio->bi_css unnecessary as blkg maintains a reference to
the blkcg already.

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

Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
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