diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-05-08 16:58:04 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-08 09:03:44 -0600 |
commit | 8336d18c6b57a603aaa4db76bbf4f8cb08acfa5e (patch) | |
tree | 145bf6cfeb3b94c59a8ac50b2c568219d3cfceaf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 037af793557ed192b2c10cf2379ac97abacedf55 (diff) |
block: don't quiesce queue for calling elevator_set_none()
blk_mq_freeze_queue() can't be called on quiesced queue, otherwise it may
never return if there is any queued requests.
Fix it by removing quiesce queue around elevator_set_none() because
elevator_switch() does quiesce queue in case that we need to switch
to none really.
Fixes: 1e44bedbc921 ("block: unifying elevator change")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Link: https://lore.kernel.org/r/20250508085807.3175112-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions