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

Christoph Hellwig
2022-04-11T06:13:11Z

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.