On Fri, 12 Jan 2024 15:00:00 +0800, Ming Lei wrote: > Inside scsi_eh_wakeup(), scsi_host_busy() is called & checked with host lock > every time for deciding if error handler kthread needs to be waken up. > > This way can be too heavy in case of recovery, such as: > > - N hardware queues > - queue depth is M for each hardware queue > - each scsi_host_busy() iterates over (N * M) tag/requests > > [...] Applied to 6.8/scsi-fixes, thanks! [1/1] scsi: core: move scsi_host_busy() out of host lock for waking up EH handler https://git.kernel.org/mkp/scsi/c/4373534a9850 -- Martin K. Petersen Oracle Linux Engineering