blktrace: cleanup the __trace_note_message interface
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Apr 2022 04:27:16 +0000 (06:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 May 2022 20:06:20 +0000 (14:06 -0600)
commitf4a6a61cb6d40d9ae63e47743d33200f3efe3fe7
treeddf10830cb8afd7241a592f5aff2ecbc26cf330a
parentdec223c92a4688f6c9642d640cfe15a99d289dd4
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>
block/bfq-iosched.h
block/blk-throttle.c
include/linux/blktrace_api.h
kernel/trace/blktrace.c