[PATCH] nvme-loop: set blocking flag
Shinichiro Kawasaki
shinichiro.kawasaki at wdc.com
Thu Oct 17 21:19:31 PDT 2024
On Oct 17, 2024 / 10:20, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
>
> Commit 505363957fad ("nvmet: fix nvme status code when namespace is
> disabled") introduced a mutex lock in the io path for target. The loop
> target connects this to the blk-mq submission side, so it requires the
> blocking flag set so that queue_rq doesn't happen inside an rcu context.
>
> Reported-by: Shinichiro Kawasaki <shinichiro.kawasaki at wdc.com>
> Signed-off-by: Keith Busch <kbusch at kernel.org>
Thank you Keith for this quick action. I confirmed the patch avoids the BUG.
I also ran whole blktests and observed no regression. In case this patch gets
applied as it is,
Tested-by: Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>
More information about the Linux-nvme
mailing list