[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162200196244.11962.7464376808951847410.b4-ty@oracle.com>
Date: Wed, 26 May 2021 00:07:24 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: jejb@...ux.ibm.com, John Garry <john.garry@...wei.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
ming.lei@...hat.com
Subject: Re: [PATCH] scsi: core: Cap shost cmd_per_lun at can_queue
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
Powered by blists - more mailing lists