Re: [PATCH] scsi: core: Cap shost cmd_per_lun at can_queue

From: Martin K. Petersen
Date: Wed May 26 2021 - 00:08:27 EST


On Wed, 19 May 2021 22:31:02 +0800, John Garry wrote:

> Function sdev_store_queue_depth() enforces that the sdev queue depth cannot
> exceed Shost.can_queue.
>
> The sdev initial value comes from shost cmd_per_lun.
>
> However, the LLDD may still set cmd_per_lun > can_queue, which leads to an
> initial sdev queue depth greater than can_queue.
>
> [...]

Applied to 5.14/scsi-queue, thanks!

[1/1] scsi: core: Cap shost cmd_per_lun at can_queue
https://git.kernel.org/mkp/scsi/c/ea2f0f77538c

--
Martin K. Petersen Oracle Linux Engineering