UPSTREAM: nvme: 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. Unlike most queue updates this does not use the queue_limits_commit_update_frozen helper as the nvme driver want the queue frozen for more than just the limits update. Change-Id: I85186767edc57eb14287122dda5aaafbfa7aa0c5 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-8-hch@lst.de Signed-off-by:
Jens Axboe <axboe@kernel.dk> (cherry picked from commit 473106dd) Signed-off-by:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment