Re: [PATCH] scsi: target: Disable interrupts while holding delayed_cmd_lock
From: Martin K. Petersen (Oracle)
Date: Tue Oct 13 2026 - 23:58:54 EST
On Sun, 27 Sep 2026 19:13:29 +1000, Yu Zhang wrote:
> target_do_delayed_work() takes dev->delayed_cmd_lock with a plain
> spin_lock(). It runs from system_percpu_wq, so interrupts stay enabled
> while the lock is held. Every other acquisition of that lock uses
> spin_lock_irqsave(): target_handle_task_attr() and
> transport_complete_ordered_sync() in target_core_transport.c, and
> target_non_ordered_release() in target_core_device.c.
>
> [...]
Applied to 7.3/scsi-fixes, thanks!
[1/1] scsi: target: Disable interrupts while holding delayed_cmd_lock
https://git.kernel.org/mkp/scsi/c/04a67a8b1a44
--
Martin K. Petersen