blk-iocost: pass a gendisk to blk_iocost_init
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Sep 2022 18:04:54 +0000 (20:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 01:17:27 +0000 (19:17 -0600)
commit57b64554977e28ab84d33d298032872a8047a557
tree67bbbe5584a89a84ccc1c9a906a7d5a60c101764
parent9df3e65139b923dfe98f76b7057882c7afb2d3e4
blk-iocost: pass a gendisk to blk_iocost_init

Pass the gendisk to blk_iocost_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-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iocost.c