Re: [PATCH v2 2/3] nvme: prevent admin controller from smart log fetch (LID 2)

From: Christoph Hellwig
Date: Thu Jul 03 2025 - 05:06:07 EST


On Tue, Jul 01, 2025 at 05:58:28PM -0700, Kamaljit Singh wrote:
> Similar to a discovery ctrl, prevent an admin-ctrl from getting a smart
> log. LID 2 is optional for admin controllers to support.
>
> In the future when support for the newly added LID=0 (supported log
> pages) is added, GLP accesses can be made smarter by basing such calls
> on response from LID=0 reads.

Let's leave this in. Failing a get_log page is fine. The difference
for discovery controllers is that implementing it is prohibited.