]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitafee75e2e8bdfc295d95ecbc2f41fbd9c633f83d
treeddf10830cb8afd7241a592f5aff2ecbc26cf330a
parent81778db70b694606b033a57014bf7271e8abd96c
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