diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-20 07:27:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-05-02 23:06:20 +0300 |
commit | f4a6a61cb6d40d9ae63e47743d33200f3efe3fe7 (patch) | |
tree | ddf10830cb8afd7241a592f5aff2ecbc26cf330a /block/blk-throttle.c | |
parent | dec223c92a4688f6c9642d640cfe15a99d289dd4 (diff) | |
download | linux-f4a6a61cb6d40d9ae63e47743d33200f3efe3fe7.tar.xz |
blktrace: cleanup the __trace_note_message interface
Pass the cgroup_subsys_state instead of a the blkg so that blktrace
doesn't need to poke into blk-cgroup internals, and give the name a
blk prefix as the current name is way too generic for a public
interface.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220420042723.1010598-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r-- | block/blk-throttle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 469c483719be..447e1b8722f7 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -227,7 +227,7 @@ static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) break; \ if ((__tg)) { \ blk_add_cgroup_trace_msg(__td->queue, \ - tg_to_blkg(__tg)->blkcg, "throtl " fmt, ##args);\ + &tg_to_blkg(__tg)->blkcg->css, "throtl " fmt, ##args);\ } else { \ blk_add_trace_msg(__td->queue, "throtl " fmt, ##args); \ } \ |