Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4133766pxj; Tue, 25 May 2021 00:53:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSdCnKMpg3yPByGj//qjfHUyxZjcuH7VA1nKHf0gDnwR9cecD299ihDzywOJXzKW1WRFnD X-Received: by 2002:aa7:c6cd:: with SMTP id b13mr30202507eds.94.1621929217147; Tue, 25 May 2021 00:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621929217; cv=none; d=google.com; s=arc-20160816; b=ywJgzEdeSmNhWdLZgCE2ShDDSQbNnyW+7KJrS89Pnu4tfhxa8LAhywsLoaIFPEo6jU vY/w2JEdheb/WWhrZ2y+xXgmqnDSN/8MES640Z/5nluDFQm9RDBZYZiOXOwcKnvpiOEN yx0JbU+irdIyudIEsWp+SlRzayXwYWfY8ZNR3viJIOE53elnTImppGV+QlFuVPYw87/+ D+fz6zyZk7O8IrfdLKbl82zHXk3J9ZhGzqFToQ0GL5Ln58piE8DHWnxlu+oAysTkLn/p PBj9UYqEMb4EgHRSFmqFtx3Hh6OMzjve7vkhDigIjaez0xFMK0JE/U3JrNU1d9Sj8Bek QpSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=j2fhzr5837zU52YoYCCj7OktYsUUOPoJ2zCaPYIo83k=; b=zWaFscDpMh7VTQNg5kTxgiFOUJvsVa6TUVkRdQ9PMfpql0Okm4z7qQQ9GtpL+rDhdK bBNg9sjLbSFlG98RRfSexdwATGdXl8yKz8n/cQTejBVTFGszR4I59VI5VoZOG0AW+hZL rDnSnjpWCbqE87g9EsUOD2c7B/Bt3+AJf5/0THElh32yyrveJ6UDkYzqTPn1qMx3ElPe wRGC+aMUlatapFoVOBogghHZ95CoArppuiIs+h+NUXw89hHeKR6oSCIcuhWjcC8JyCa3 mWmQYn077rpvfR2ZcfLqCWEW7Kzo8ZSdUhrbB6tqsGDHAZk1fL2iZHY8wRYP6zdnAYu8 wsUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=FYHFW19k; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mc14si14999325ejb.63.2021.05.25.00.53.13; Tue, 25 May 2021 00:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=FYHFW19k; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231843AbhEYHxx (ORCPT + 99 others); Tue, 25 May 2021 03:53:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:44802 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231640AbhEYHxw (ORCPT ); Tue, 25 May 2021 03:53:52 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1621929142; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=j2fhzr5837zU52YoYCCj7OktYsUUOPoJ2zCaPYIo83k=; b=FYHFW19kcHff0IwGFZ5Mi4waWtuwa+eDq8I9Hvz2IxEKqnsB7CWcTvlz7ytmv5vxSl3XP5 C/AhJsLtMbxLxuNScTPxongo0aUnBbL6Mhw4JHQY49U+9aloLF2RlUDr5GAnY8mQbMa7ho K0qabBWmtya5dMLd44GRlbUdZ77olmo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1621929142; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=j2fhzr5837zU52YoYCCj7OktYsUUOPoJ2zCaPYIo83k=; b=jkKPQIu7zYgNJ/mnzjMS8+pVaCI2J+4jvEvclpUsXmJiPc9yNqKQ8wmzXI60hdr2VYg+l0 ERYJWKrnSaq0IjAw== Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6AF0BAE1F; Tue, 25 May 2021 07:52:22 +0000 (UTC) Date: Tue, 25 May 2021 09:52:21 +0200 From: Daniel Wagner To: Christoph Hellwig Cc: Sagi Grimberg , Keith Busch , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Jens Axboe Subject: Re: [PATCH] nvme: Use NN for max_namespaces if MNAN is zero Message-ID: <20210525075221.uuzabne3qizne3er@beryllium.lan> References: <20210521144734.90044-1-dwagner@suse.de> <20210521145306.ld7jc6alchimyzny@beryllium.lan> <20210521152702.GB29013@redsun51.ssa.fujisawa.hgst.com> <20210524073703.GA24372@lst.de> <20210525071259.j5g7koxqad7hwpkp@beryllium.lan> <20210525072234.GA13966@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210525072234.GA13966@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 25, 2021 at 09:22:34AM +0200, Christoph Hellwig wrote: > For non-ANA MNAN doesn't have to be set indeed. But we also don't use > the value at all either. Ah yes, I somehow though we still allocate the log buffer. Obviously, the buffer is only used with ANA... time to fetch a coffee.