summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-01-10 08:47:16 +0300
committerJens Axboe <axboe@kernel.dk>2025-01-10 17:29:24 +0300
commitf3dec61d7544a90685f1dd9a87fd4afc751996d0 (patch)
tree264b0394e2fdb26539081793df042c27287a4276 /tools/perf/scripts/python/export-to-sqlite.py
parent473106dd3aa964a62314d858f6602c95e40e6270 (diff)
downloadlinux-f3dec61d7544a90685f1dd9a87fd4afc751996d0.tar.xz
nbd: 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. This also allows removes the need for the separate __nbd_set_size helper, so remove it. 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-9-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