summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2025-05-05 17:17:41 +0300
committerJens Axboe <axboe@kernel.dk>2025-05-06 16:43:42 +0300
commitf8e111c859b92ee909f1676f90c791e7165d3860 (patch)
tree14b518293f4f274d2412a47c2af17111c69d6164 /tools/perf/scripts/python/stackcollapse.py
parent56dee46ff47f0ef9944dddd1fd137c94b7c2d9de (diff)
downloadlinux-f8e111c859b92ee909f1676f90c791e7165d3860.tar.xz
block: don't call freeze queue in elevator_switch() and elevator_disable()
Both elevator_switch() and elevator_disable() are only called from the two code paths, in which queue is guaranteed to be frozen. So don't call freeze queue in the two functions, also add asserts for queue freeze. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20250505141805.2751237-4-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions