summaryrefslogtreecommitdiffstats
path: root/include/linux/blk_types.h
diff options
context:
space:
mode:
authorDennis Zhou (Facebook)2018-09-11 20:41:33 +0200
committerJens Axboe2018-09-22 04:29:13 +0200
commitc839e7a03f92bafd71fd145b470dcdc7f43f2d4c (patch)
tree2327729d2f67268d179beb22f4ef9db44b156af1 /include/linux/blk_types.h
parentblkcg: associate writeback bios with a blkg (diff)
downloadkernel-qcow2-linux-c839e7a03f92bafd71fd145b470dcdc7f43f2d4c.tar.gz
kernel-qcow2-linux-c839e7a03f92bafd71fd145b470dcdc7f43f2d4c.tar.xz
kernel-qcow2-linux-c839e7a03f92bafd71fd145b470dcdc7f43f2d4c.zip
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>
Diffstat (limited to 'include/linux/blk_types.h')
-rw-r--r--include/linux/blk_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index f6dfb30737d8..9578c7ab1eb6 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -178,7 +178,6 @@ struct bio {
* release. Read comment on top of bio_associate_current().
*/
struct io_context *bi_ioc;
- struct cgroup_subsys_state *bi_css;
struct blkcg_gq *bi_blkg;
struct bio_issue bi_issue;
#endif