[PATCH] nvmet-tcp: use 'spin_lock_bh' for state_lock()
Sagi Grimberg
sagi at grimberg.me
Sun Aug 13 05:52:41 PDT 2023
Patch looks good, but please phrase the bug in
the patch title instead of the solution.
> 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.
>
> Signed-off-by: Hannes Reinecke <hare at suse.de>
Please add a fixes tag.
More information about the Linux-nvme
mailing list