diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-10 08:47:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-10 17:29:24 +0300 |
commit | b03732a9c0db91522914185739505d92d3b0d816 (patch) | |
tree | 6030f26706db3166a7358f83f0295ef87b3caf06 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b38c8be255e89ffcdeb817407222d2de0b573a41 (diff) | |
download | linux-b03732a9c0db91522914185739505d92d3b0d816.tar.xz |
loop: fix queue freeze vs limits lock order
Match the locking order used by the core block code by only freezing
the queue after taking the limits lock using the
queue_limits_commit_update_frozen helper and document the callers that
do not freeze the queue at all.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20250110054726.1499538-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions