Re: [PATCH v2] scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
From: Martin K. Petersen
Date: Mon Aug 21 2023 - 17:08:22 EST
Chengfeng,
> There is a long call chain that &fip->ctlr_lock is acquired by isr
> fnic_isr_msix_wq_copy() under hard irq context. Thus other process
> context code acquiring the lock should disable irq, otherwise deadlock
> could happen if the irq preempt the execution while the lock is held
> in process context on the same CPU.
Applied to 6.6/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering