Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35181165rwd; Mon, 10 Jul 2023 03:57:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlF1+z6Y2D3kRZLQxK0HYLiTqmrekVppH8cvxbgv57dBXyRAIECZzOtr2znhrwQEo4cVYlMY X-Received: by 2002:a17:907:779a:b0:992:1005:928d with SMTP id ky26-20020a170907779a00b009921005928dmr14409566ejc.8.1688986667060; Mon, 10 Jul 2023 03:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688986667; cv=none; d=google.com; s=arc-20160816; b=Up5EuUBGZ9FHiu/+LK/UnlDTUhd0NKe4bm6tuWF2jQ8k152x429SUbdpVt+i3MUEXU Jj4C3jRYqR/K5zrJgA9HHy16TeNY+c9XEsvJDpcyat1+dVnUk2jLRJShreeTEx3KaG9q lTjlf1o4VTN99d/4UBPHdfSgzfMwLGgtSqHzXk90nFlt7zcunuSDanWwbYtryMk5h+6x Xxv/qQHxR0idn3y0yq9UXXZqR8DZhlyYbuFeZq4d2aHneS2hyhXxtpgUxIeWUiBZEp9c cXZN9vo/f1EZlKCsW9sNxGMCrkYwpsu/Rd3WoJad4F4BcNIfciyTFYU2EVaBX/iUCUjp t0dw== 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=dOPQVlVl/8vQ//n15Tk8y4R1eYRMJsmZsPzlZqEUlNs=; fh=Vf6+PVMDRSN/LzZ/9uI1q6sot4c00M2H1D+WgCPTN74=; b=lnVJ5ewq+iEbHCrR2kfNCWndNDgMAQdYrqnefo4YhiGbn6Lt3Bgvv1K4peFdgekkas U9cQYrm6EM/PJW93UjgcRqVQSY8ADvSflX2PeDAL35fD9y7qqWmUqWBpX9oSz4KvNSeC KCHC5yylZyBaSCgFCMi29/7UsHklrEOOdSzSPXDFEqQqqFRk31txE5bXmSjzxFM0y9zH 40H54PcfaA/q9xnYBV51ezYtcqf/8RjWIiwFbYeRM53BCVVIVyXvviyC0jfih88tea+n DXzlCkWWBFZJtQ4EGqzLG3iGM1SuQDKQOygDl9v953FW396MTMV2b25iv5ZMCwKclyEs lweA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Wp0QUbNf; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot17-20020a170906ccd100b009882f2a8aabsi8949529ejb.551.2023.07.10.03.57.23; Mon, 10 Jul 2023 03:57:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Wp0QUbNf; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233322AbjGJKUM (ORCPT + 99 others); Mon, 10 Jul 2023 06:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233425AbjGJKTz (ORCPT ); Mon, 10 Jul 2023 06:19:55 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DB37183; Mon, 10 Jul 2023 03:19:34 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 547AF1FE4C; Mon, 10 Jul 2023 10:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1688984373; 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=dOPQVlVl/8vQ//n15Tk8y4R1eYRMJsmZsPzlZqEUlNs=; b=Wp0QUbNf5XaNlRPlG0FB9Zz/3WpMnrs1+b8iNdyU95ruQBihKhwUs2PLtYeSAZOtTSK+PQ dF+kV5V87URc5OHxolj0z8nmgFGS2N/rPU+kqKb5kyMytUAObxYKCW3ywRqsRUMpqFqbjc E2Otgn39N453HG4U7uXxooZrh2mXB6A= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1688984373; 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=dOPQVlVl/8vQ//n15Tk8y4R1eYRMJsmZsPzlZqEUlNs=; b=M1y7Pko3BRJD16IVNvY+R0b+D274u+SqFXOje3G1Pjo7N8uHPwvWSI9RgeXKoNNg74OR1j UIidc8Nvqy7uN/Cw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4269513A05; Mon, 10 Jul 2023 10:19:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Hac1EDXbq2SPPwAAMHmgww (envelope-from ); Mon, 10 Jul 2023 10:19:33 +0000 Date: Mon, 10 Jul 2023 12:19:32 +0200 From: Daniel Wagner To: Max Gurtovoy Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Chaitanya Kulkarni , Shin'ichiro Kawasaki , Sagi Grimberg , Hannes Reinecke , James Smart , Martin Belanger Subject: Re: [PATCH blktests v1 2/3] nvme/rc: Avoid triggering host nvme-cli autoconnect Message-ID: References: <20230620132703.20648-1-dwagner@suse.de> <20230620132703.20648-3-dwagner@suse.de> <9c07e4f6-2cf5-b53b-6b48-bd4df8798ee9@nvidia.com> <39f9977e-b34c-f2dd-d356-8c78414a60d1@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <39f9977e-b34c-f2dd-d356-8c78414a60d1@nvidia.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 10, 2023 at 12:53:17PM +0300, Max Gurtovoy wrote: > > Agree on setting the hard coded values for hostnqn and hostid instead of > > > reading the /etc/nvme/* files. This should do the work IMO, isn't it ? > > > > Do you mean that nvme-cli will ignore the udev trigger when a different hostnqn > > is invovled? At least for the well-known discover controller the hostqnq > > doesn't work. Though not sure if I understood you correctly here. > > All I was saying is that your issue would have been fixed easily by 2-3 LOC > by removing the usage of /etc/nvme/* files that are usually configured by > system administrator and use a default values for blktests hostnqn and > hostid. Okay. > The usage of --context in blktests is redundant IMO. Right, I made a bit of a mess with the commit message. Sorry about that.