[PATCH 07/13] nvme-fc: keep ctrl->sqsize in sync with opts->queue_size

James Smart jsmart2021 at gmail.com
Thu Sep 22 15:48:35 PDT 2022


On 9/20/2022 10:16 AM, Christoph Hellwig wrote:
> Also update the sqsize field when capping the queue size, and remove the
> check a queue size that is larger than sqsize given that sqsize is only
> initialized from opts->queue_size.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>   drivers/nvme/host/fc.c | 10 +---------
>   1 file changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/drivers/nvme/host/fc.c b/drivers/nvme/host/fc.c
> index 42767fb754552..ee376111f5610 100644

Reviewed-by: James Smart <jsmart2021 at gmail.com>

-- james





More information about the Linux-nvme mailing list