[PATCH 6/8] nvme: fix queue freeze vs limits lock order

Christoph Hellwig hch at lst.de
Tue Jan 7 00:58:25 PST 2025


On Tue, Jan 07, 2025 at 02:15:05PM +0530, Nilay Shroff wrote:
> The nvme_set_ctrl_limits() sets certain queue limits which are 
> also used during IO processing. For instance, ->max_segment_size
> is used while submitting bio.

nvme_set_ctrl_limits only sets them in the on-stack queue_limits
structure, which is local to the calling thread.




More information about the Linux-nvme mailing list