]> www.infradead.org Git - users/hch/misc.git/commit
blktrace: don't centralize grabbing q->debugfs_mutex in blk_trace_ioctl
authorMing Lei <ming.lei@redhat.com>
Thu, 28 Nov 2024 12:50:26 +0000 (20:50 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Dec 2024 13:58:30 +0000 (06:58 -0700)
commit35a5351e903a7441811792e29c2728c3020861ee
tree902f27069871cb17abf83dfe8c5650b16444a691
parentb170a04f907f02ae3fc7da265d7e49a818bf50ea
blktrace: don't centralize grabbing q->debugfs_mutex in blk_trace_ioctl

Call each handler directly and the handler do grab q->debugfs_mutex,
prepare for killing dependency between ->debug_mutex and ->mmap_lock.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241128125029.4152292-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/trace/blktrace.c