[PATCH] nvmet-tcp: use 'spin_lock_bh' for state_lock()

Keith Busch kbusch at kernel.org
Thu Oct 12 08:09:19 PDT 2023


On Thu, Oct 12, 2023 at 02:59:54PM +0200, Hannes Reinecke wrote:
> nvmet_tcp_schedule_release_queue() is called from socket state
> change callbacks, which may be called from an softirq context.
> So use 'spin_lock_bh' to avoid a spin lock warning.

Doh, I missed you already sent this fix:

  http://lists.infradead.org/pipermail/linux-nvme/2023-August/041593.html

I can apply it on nvme-6.7, though this feels like a fix that can go in
now. Depending on which way we go, it will cause a merge conflict for
either stable or the next merge window. Do you have a preference? I'd
just do 6.7 if you don't care.



More information about the Linux-nvme mailing list