[PATCH 06/10] nvme: fix queue freeze vs limits lock order

Ming Lei ming.lei at redhat.com
Wed Jan 8 02:39:19 PST 2025


On Wed, Jan 08, 2025 at 10:25:03AM +0100, Christoph Hellwig wrote:
> 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.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Damien Le Moal <dlemoal at kernel.org>
> Reviewed-by: Nilay Shroff <nilay at linux.ibm.com>
 
Reviewed-by: Ming Lei <ming.lei at redhat.com> 

Thanks, 
Ming




More information about the Linux-nvme mailing list