Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5399247rdb; Wed, 13 Dec 2023 07:38:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIskXvhDCNPc6jDzKU5iqnFgq74wej7yV1+ivMiLItHNZ7Dr7TwpHnoXk7nsMEaMc36bdJ X-Received: by 2002:a05:6e02:1b85:b0:35d:68a3:a659 with SMTP id h5-20020a056e021b8500b0035d68a3a659mr9216600ili.16.1702481927649; Wed, 13 Dec 2023 07:38:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702481927; cv=none; d=google.com; s=arc-20160816; b=Z9nwsWdX6IWi28YamSywPJPJeL1BoGiDotpzEDb6mE03sn830XpPpgNZ0OPBLhXYbn 8DE6BUn4Lbmm3EabJcrpqvYv71D7MkRIVjkRERQt2Cr+GpowZ1qOFR8cZpfMHd38ycwF S6eWmEZyXABmxTFqCzbLaNjJvvJMzs/UKT5TaeoZFuwRRnXZh7k2FtN3KsCA5VNfgK7f 3jgly9T6jzdv3N5/uVfCfn1wc59oq08rm5PxnLyX5+7n2X+dz6FSbA1XRVU3nSAjjLuk Sd0FPcCa13ncLyAHvvUNAuk01u3M0LzqhWCBD9qjVqss6EOAA5K+aTtR2CoZLS/3Mc8C JLAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=hnM3jaZNA8impusrL7Dp4X+d9jMpAh0GB5+n4uPr2Oo=; fh=Wv11pg9gjUdkHSpp6qTc1VMcPOOJsv+NGHWDX2Cz6Do=; b=rKZRSnK6PfvahppRxCfy1LzKHUp1s/zLdm9EtILMGwPWuiDjvcE5N/7nEnsiXCpeb8 DkZsrVJ+P2aN5WrZhcPl/KGDTPD6zaUc5LYSGYi70KBtj2pDOok9Knmf4v75GO2obUCi YAyrxHFo1Af5XIYehmzRW5OCIRfZ8LiC/YfhDwoOknv0XTP4BD0VOLP4HDcX7GNO8666 ie18Ikk9jCet6EkVixLM1/BS/pf+T7RC334Wa4UN/avYkG4mnHUwltOkyANi1PGuNzCs hM2tVTYVKK/jaeMzFEW8nopGM6xR88a3RqFbyxzueH4dxEQwejpRO75r2P4rotB0Yrjd WKgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id 4-20020a631544000000b005c201808430si9729846pgv.120.2023.12.13.07.38.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 07:38:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 705208047870; Wed, 13 Dec 2023 07:38:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442147AbjLMPic (ORCPT + 99 others); Wed, 13 Dec 2023 10:38:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442041AbjLMPib (ORCPT ); Wed, 13 Dec 2023 10:38:31 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F36E9B3 for ; Wed, 13 Dec 2023 07:38:37 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id AB4D168CFE; Wed, 13 Dec 2023 16:38:34 +0100 (CET) Date: Wed, 13 Dec 2023 16:38:34 +0100 From: Christoph Hellwig To: Daniel Wagner Cc: Sagi Grimberg , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Keith Busch , Christoph Hellwig , Hannes Reinecke Subject: Re: [PATCH v5 1/6] nvme: move ns id info to struct nvme_ns_head Message-ID: <20231213153833.GC7301@lst.de> References: <20231208105337.23409-1-dwagner@suse.de> <20231208105337.23409-2-dwagner@suse.de> <7ldcd6imhzxhn3wsirhxxyhb75x5iay2p67p2i4qi2euyztc5i@nbjtvyixifqm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7ldcd6imhzxhn3wsirhxxyhb75x5iay2p67p2i4qi2euyztc5i@nbjtvyixifqm> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 13 Dec 2023 07:38:45 -0800 (PST) On Wed, Dec 13, 2023 at 03:54:25PM +0100, Daniel Wagner wrote: > > I think that the whole PI stuff needs to be taken with a bit more > > consideration because if not all paths agree on the pi (as we have > > hbas with fabrics) we can't just override or do a logical or on > > the capabilities/attributes. > > So should the PI variables stay in nvme_ns at this point? Or should I > add some checks which avoid an override and warn in this case? Didn't we merge the patch from max to require uniform PI setups for all controllers that we're using in a multipath setup? I'll check the code after finishing a few more things if no one remembers offhand.