blk-iolatency: pass a gendisk to blk_iolatency_init
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Sep 2022 18:04:52 +0000 (20:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 01:17:24 +0000 (19:17 -0600)
commit16fac1b5912b778a30d8863dbc928bef25c8d307
treefd86dc02ea0680676373e4bf684aeff65a509b65
parentb0dde3f5d628f76f461fb650e2cebfac3460cff6
blk-iolatency: pass a gendisk to blk_iolatency_init

Pass the gendisk to blk_iolatency_init as part of moving the blk-cgroup
infrastructure to be gendisk based.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Herrmann <aherrmann@suse.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220921180501.1539876-9-hch@lst.de
[axboe: missed inline for blk_iolatency_init() and !CONFIG_BLK_CGROUP_IOLATENCY]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-iolatency.c
block/blk.h