On Thu, 10 Sep 2020 15:50:56 +0800, Ming Lei wrote: > Now the request queue is run in scsi_end_request() unconditionally if both > target queue and host queue is ready. We should have re-run request queue > only after this device queue becomes busy for restarting this LUN only. > > Recently Long Li reported that cost of run queue may be very heavy in > case of high queue depth. So improve this situation by only running > the request queue when this LUN is busy. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: core: Only re-run queue in scsi_end_request() if device queue is busy https://git.kernel.org/mkp/scsi/c/ed5dd6a67d5e -- Martin K. Petersen Oracle Linux Engineering