[PATCHv2] nvmet-loop: avoid using mutex in IO hotpath

Keith Busch kbusch at kernel.org
Fri Dec 27 13:28:47 PST 2024


On Wed, Dec 11, 2024 at 02:28:06PM +0530, Nilay Shroff wrote:
> Using mutex lock in IO hot path causes the kernel BUG sleeping while
> atomic. Shinichiro[1], first encountered this issue while running blktest
> nvme/052 shown below:
> 
> BUG: sleeping function called from invalid context at kernel/locking/mutex.c:585

Thanks, applied to nvme-6.13.



More information about the Linux-nvme mailing list