[PATCH v3 2/4] nvme-pci: limit maximum queue depth to 4095

Daniel Wagner dwagner at suse.de
Thu Jun 17 01:04:28 PDT 2021


On Wed, Jun 16, 2021 at 02:19:34PM -0700, Sagi Grimberg wrote:
> We are going to use the upper 4-bits of the command_id for a generation
> counter, so enforce the new queue depth upper limit. As we enforce
> both min and max queue depth, use param_set_uint_minmax istead of
> open coding it.
> 
> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
> Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
> ---

Reviewed-by: Daniel Wagner <dwagner at suse.de>



More information about the Linux-nvme mailing list