lkml.org 
[lkml]   [2021]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: core: Cap shost cmd_per_lun at can_queue
Date
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

\
 
 \ /
  Last update: 2021-05-26 06:09    [W:0.098 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site