]> www.infradead.org Git - users/willy/linux.git/commit
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>
Wed, 5 Dec 2018 17:19:34 +0000 (10:19 -0700)
commitc32a33a45cd3d6caec9f717bc0c4dc3c7d2a66f4
treeef234648ce8ec4049e87b38116cb8da08168d682
parent336bd17303202fd8e444b58f8acf8c00f4292826
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