[PATCH 2/3] nvme-core: don't check non-mdts for disc ctrl

Christoph Hellwig hch at lst.de
Sun Apr 10 23:13:01 PDT 2022


On Sun, Apr 10, 2022 at 08:12:48PM -0700, Chaitanya Kulkarni wrote:
> Don't check the non mdts limits for the discovery controller as we
> don't support I/O command set, this also masks the following warning
> reported by the nvme_log_error() when running blktest nvme/002: -

I think we can skip the whole call to nvme_init_non_mdts_limits in this
case.  And we should probably key it off having I/O queues to also
cover administrative controllers.



More information about the Linux-nvme mailing list