Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10830825rwp; Fri, 21 Jul 2023 05:46:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlGaDmQvarakebQ/ZnFKumzwlFFZ0uD3PB9+SIQRuoWdZB4ahyqytwvzNIIUKVDKryfS+Mup X-Received: by 2002:a05:6a20:3a88:b0:12d:f1ac:e2cd with SMTP id d8-20020a056a203a8800b0012df1ace2cdmr1168726pzh.32.1689943616888; Fri, 21 Jul 2023 05:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689943616; cv=none; d=google.com; s=arc-20160816; b=Re6zR617VaAl4JTenbLlOBOcPXw1h7Zcp8vU4ST8lyVP6Qj9zEzEpMQjjdQRfnJtrH QJEXeY2A1kPR9jy4bpSEkOckNml3kfIuz4iC8VXqROwnmZrC9w+ZQolRr/mb9cQhYFTq 7Ns0EvIPBbhok3Z5/oSH7qVDTftypCPyczeP1l4c8rQUxPquVkNw7uhsQXgdAqbm4Z4R bBTPl6UUuZQNL7FjZ14WNO2zvnErXvlHAGULJp/lkkZOCypTB+SdqGfSP8NllRAnudAT f6edHhSl87fH2NmEcLCzxFqGkG0BlEnPbVO0I+xj/aEZ5cGzU/ZEwuO8wGjdro3b72lC u6+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=Q6321VdtsaFyz231nyTF10eoGD8o/cIKY3P6vG38TKc=; fh=duiSMEG7BeowS4u8Zx6veCHkeKN2410ODBWm3kvCxdE=; b=a2TVsPSa4gAAsRXpvS3woKntipkGwmarCHO5WvSdqvRMZ2Q7XssOuULBa8q2IV0lb4 Ch6wLJQK4GW/isOhsV4YzhLmHhwqrTATw2fXFlH6vseBXYw2mNyvozEGaXUz2GNuS/H4 zlYFnx/XLwO/NYmxovh49SS5YY+7WL/fUEkaSeW4EJ3fHASsZGX1Cbjk7FjXUJL+GuYg nsIiKX4XDVhBFIAZqg0BvlyMvDZLCKI1MiZc+TPowlF2eJK8kJsPXUEDbM+RB4Wtv08u 4J4Am949oh45o/kq48FnopPq2VEe517qaZhwwbJ9xSrASMR0fksgfPLorjxab6OOJqwt Zd5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=D2BNZun4; dkim=neutral (no key) header.i=@suse.cz header.b=j7ps4kKQ; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l8-20020a056a0016c800b00668731a497fsi3205564pfc.44.2023.07.21.05.46.43; Fri, 21 Jul 2023 05:46:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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.cz header.s=susede2_rsa header.b=D2BNZun4; dkim=neutral (no key) header.i=@suse.cz header.b=j7ps4kKQ; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229779AbjGUMjF (ORCPT + 99 others); Fri, 21 Jul 2023 08:39:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbjGUMjE (ORCPT ); Fri, 21 Jul 2023 08:39:04 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0FDE2D56 for ; Fri, 21 Jul 2023 05:38:59 -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 77FCF1F897; Fri, 21 Jul 2023 12:38:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1689943138; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Q6321VdtsaFyz231nyTF10eoGD8o/cIKY3P6vG38TKc=; b=D2BNZun4zA0U5Rq5bIGsvk0l3KerkRL0BwW3BULY2XzCJwW58O1oe/2w5xX9NCAsiM+pq1 +9yrtyuiQvtYHkBE9kcRPmyI47hPpzCn2B54vKn2gYZtUWd6Ie+vMkPoBhBECPhP47aPvU XpTxMexvZK0P4oKOLu3xRr66FSXtVls= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1689943138; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Q6321VdtsaFyz231nyTF10eoGD8o/cIKY3P6vG38TKc=; b=j7ps4kKQ1pxX3MUkWZJvjBFn7CWa0rDLrF0fbK9CG1lqr2qgRiqmJPHShkfHArKICLSjWC KzFODzkBa0XajHCA== 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 0ECF0134BA; Fri, 21 Jul 2023 12:38:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 02v6AGJ8umSpUgAAMHmgww (envelope-from ); Fri, 21 Jul 2023 12:38:58 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , Olga Kornievskaia , Anna Schumaker , Trond Myklebust , Chuck Lever , Jeff Layton , linux-nfs@vger.kernel.org Subject: [PATCH 1/1] nfs_lib.sh: Set NFS 4.2 on TCP as the default Date: Fri, 21 Jul 2023 14:38:52 +0200 Message-Id: <20230721123852.1420080-1-pvorel@suse.cz> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR,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-nfs@vger.kernel.org Previously NFS 3 on UDP was the default, which leaded to test being skipped when tests run without parameters: TCONF: UDP support disabled on NFS server This does not have an effect when tests run properly via runtest/net.nfs, which specify parameters. It just safes typing -t tcp (and optionally -v 4.2) when one runs single test manually. Signed-off-by: Petr Vorel --- Hi, I'm pretty sure, we don't want to have UDP as the default (besides skipped with TCONF it was acked by Jeff [1]). But I wonder if NFS 4.2 is the best as the default version. Maybe just 4 or 4.1? Kind regards, Petr [1] https://lore.kernel.org/ltp/e4d22ae6cefb34463ed7d04287ca9e81cd0949d8.camel@kernel.org/ testcases/network/nfs/nfs_stress/nfs_lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/network/nfs/nfs_stress/nfs_lib.sh b/testcases/network/nfs/nfs_stress/nfs_lib.sh index abf7ba5a2..dae15a2e1 100644 --- a/testcases/network/nfs/nfs_stress/nfs_lib.sh +++ b/testcases/network/nfs/nfs_stress/nfs_lib.sh @@ -4,9 +4,9 @@ # Copyright (c) 2015-2018 Oracle and/or its affiliates. All Rights Reserved. # Copyright (c) International Business Machines Corp., 2001 -VERSION=${VERSION:=3} +VERSION=${VERSION:=4.2} NFILES=${NFILES:=1000} -SOCKET_TYPE="${SOCKET_TYPE:-udp}" +SOCKET_TYPE="${SOCKET_TYPE:-tcp}" NFS_TYPE=${NFS_TYPE:=nfs} nfs_usage() -- 2.40.1