Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7644399rwr; Wed, 10 May 2023 10:38:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6YSnih9ZdpqlFISK94Moxq1JgWqjc35suqKAdWehp1rdO97ILWOtsqv3FElRRkia6+vAdP X-Received: by 2002:a05:6a00:23d6:b0:643:53b6:d845 with SMTP id g22-20020a056a0023d600b0064353b6d845mr22808166pfc.13.1683740305595; Wed, 10 May 2023 10:38:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683740305; cv=none; d=google.com; s=arc-20160816; b=BA1u5zJlyLEslA7mDKzDJYp/F//LAHReE4KiIHzW8sClJIBvPPs8BAc8hgYITI2+Qm c9u+V8h5c7wOE/PsOzCGCCwGGGDymgssjVvSStluMkkOBfh404a7T65i7CSiYnDkDXY+ IdANJo8YTFeXlgVy4G0MeYr8n0ec83Z7Upj0yaj9XyOpj4MgzAjRfxwkbhSBBL0cPZnT JfCG39my8UB7We+cCtgkodETRIithze3lhHGuBRoKMPd8FYKywnqJdLezbg3/m770RDH my3HVysuHQzgBFqUUpFQ4bZpNxWeouFXjOTnLjT/7Jlf66JefgjT6CabEeRSVx7XAwcM 3u2g== 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=kuetgIzwwu+7VqT/P0y7E9p5TtmeuKVCGagj0//uNXg=; b=pbM3kjetUgk91B5a5mPTJ123YhiJRc/IwLKFE1h9ItgoqOF8Z2p5X1yfasOtMu8BKi A9zzT/6VXEOATln7Vicabhlz8kw/AMZu6u4l6W0D4oYjd5HWGLRD3UYPAm2TTtljFWhm KEW1S2B4fmbzIbqOtnb8jSFFuxCjRhm5i1WJq8jTZXb1JWMBm5aT264BPXOGMzUmmpBz C3RCQYMFhBiQmXa8Rls8DrK7v9ZimqqCVsShj2qxR1fjcwcEja0lRPOI1d4btTyn5qz2 YVEAyqHDatRUKdFQPwJ4R89IeXJzwSAjwqwiDRPAhzd+aktBUgVYUrfyCbZcS5SwR46B VDqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=YWD7wPAX; dkim=neutral (no key) header.i=@suse.de header.b=VMHcJ3ee; 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 h187-20020a6253c4000000b006489d6fa83fsi1222898pfb.142.2023.05.10.10.38.10; Wed, 10 May 2023 10:38:25 -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=YWD7wPAX; dkim=neutral (no key) header.i=@suse.de header.b=VMHcJ3ee; 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 S236463AbjEJRYP (ORCPT + 99 others); Wed, 10 May 2023 13:24:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235609AbjEJRYO (ORCPT ); Wed, 10 May 2023 13:24:14 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D03455276; Wed, 10 May 2023 10:24:13 -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 8F6DE1F8B4; Wed, 10 May 2023 17:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683739452; 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=kuetgIzwwu+7VqT/P0y7E9p5TtmeuKVCGagj0//uNXg=; b=YWD7wPAXrRp/wAp70Aa1nMiD75z2StfVsG9Y8R+nU0bqMuMoAr5bAEaUSEwT/kKxbx+ESo GNaaPHcFEEAievvqbVFjfWk174vWnNruT9gyxsZgbdyYUyTFKHJ8MEl3fwExMGzVNG5SE9 tdntxfynuUo2gNbA/Abvbel7xUJBfmQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683739452; 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=kuetgIzwwu+7VqT/P0y7E9p5TtmeuKVCGagj0//uNXg=; b=VMHcJ3ee1DpYaK0F65tjcDA8Jto+NLO6Hki7H5ikt768MwZWsEh38WEqMcvyEyJDDQlaDd iv7zegohShT4ASDg== 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 00F2213519; Wed, 10 May 2023 17:24:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id hTFHLTvTW2SWDQAAMHmgww (envelope-from ); Wed, 10 May 2023 17:24:11 +0000 Date: Wed, 10 May 2023 19:24:09 +0200 From: Daniel Wagner To: Shinichiro Kawasaki Cc: "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , Chaitanya Kulkarni , Shin'ichiro Kawasaki , Hannes Reinecke Subject: Re: [PATCH blktests v3 11/12] nvme/rc: Move discovery generation counter code to rc Message-ID: <5mizvgs3mwoxbkgb3axuhgkmjjxa6svi4laksdccg3oue5fwf7@4mqtz2dm6phj> References: <20230503080258.14525-1-dwagner@suse.de> <20230503080258.14525-12-dwagner@suse.de> <4zt5oysmqw72l4xzfja2oer72hryisz6zzbboz7dmhhzfypuwx@yrf2utjkv66b> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4zt5oysmqw72l4xzfja2oer72hryisz6zzbboz7dmhhzfypuwx@yrf2utjkv66b> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Sun, May 07, 2023 at 11:34:51PM +0000, Shinichiro Kawasaki wrote: > On May 03, 2023 / 10:02, Daniel Wagner wrote: > > Move the discovery generation counter code to rc so that we can reuse > > it in 002. > > The last #12 patch no longer touches nvme/002, then I'm not so sure this patch > is valuable. IMO, the lengthy 002.out has the role to check all of the 1000 > times discoveries are successful. So it looks the better to keep current > nvme/002 as is. While we don't update the counter anymore, I still think it's worthwhile to do some cleanup. We have two tests which do the same thing so why not use common code?