Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2343205rwr; Fri, 28 Apr 2023 09:06:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7BQfyNXoYLPgmbABHOR0EfKKxNAjG91F9ox09aSj18xHOAYPnqnM50ShlABRzEZS5/nOPQ X-Received: by 2002:a17:90a:4a04:b0:23d:35d9:d065 with SMTP id e4-20020a17090a4a0400b0023d35d9d065mr5333780pjh.48.1682698004215; Fri, 28 Apr 2023 09:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682698004; cv=none; d=google.com; s=arc-20160816; b=OubEGA+nnT+J7gO/hlKe5lGeD/7Uf/eYO3Nl+ogUL72gAY9NuDoOJC7csdxBqK65mN LZkZRhCdyvRubSW6VHTnv8F5eLXOVxdHpbSHawG1mrozjcG8S1b8RZXn6rqscrtUtO2r kaYfK3knm5lQGY9k6/kKvVs191G3/uuih9jKCKr1ahgOJqJvMs0/DmD5QnRjR8P3O8g9 vzmc0m395zbdNtpGlhCfiHAn7i3ifpaSQAO7FFyok1CYtcGjlDd62XuALRSDLj+stMFF hsh1CQcEWB5g4fi7nAZ9wwn7lsTWm5pA9Ur8PHkIzAe5BHxU6/InunhKC9Q6kCN0c5jU 4Hig== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=eArH7PdFvvavwtKQoM+rHGjXGGAWvEMO23tgmGyhmN8=; b=KQrGb7IOlXULqI2FlAjgrY5IrV7RDyUzPmSEuxRa94lPBYxLsYew7dmkJbnAse2o5V SrA9sLMvtd7wFacMVIg/wHKFA/JK+dgtYkh6JihRl4riva5634VawcAvlreeW2cmzRcG FYeOBs8RPQP8luATESFF1m4LC1lbFfQSP+okEOdMmhLw086Z3u1yRlwcfMzMTFRiNNgg 6bELyPeTyswiJ1IpGOGLiryaReMskN+pO7Rk3AAM9nUnl2SNBLnZdIm3lZ1TQtd2Tmi5 6yWy6WYeYnst+tOSc3lv+PHkI5ye3maweqpJAjuzdKLbQfpoU2wCRz+MMDKerwDr+XJw fAOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=0SSh89UZ; dkim=neutral (no key) header.i=@suse.cz header.b=EqgGemje; 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 13-20020a17090a08cd00b002467062c312si23095962pjn.128.2023.04.28.09.06.23; Fri, 28 Apr 2023 09:06:44 -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=0SSh89UZ; dkim=neutral (no key) header.i=@suse.cz header.b=EqgGemje; 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 S1346039AbjD1QAf (ORCPT + 99 others); Fri, 28 Apr 2023 12:00:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbjD1QAd (ORCPT ); Fri, 28 Apr 2023 12:00:33 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09C184203 for ; Fri, 28 Apr 2023 09:00:33 -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-out1.suse.de (Postfix) with ESMTPS id A9E9B21F11; Fri, 28 Apr 2023 16:00:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1682697631; 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: in-reply-to:in-reply-to:references:references; bh=eArH7PdFvvavwtKQoM+rHGjXGGAWvEMO23tgmGyhmN8=; b=0SSh89UZfBnFaCZlsPGJfoAa4DMoNJhsev+5m0QFtetch73UtANxC5NMtir/ZY5Z4sKAos pgueAr02KfocnNOTry4AyX/RWUxVXcmYPcekr+39d8Xxytz2GVnpJ5Jtb/dzPSwi0OrMNa kdXVQVYzqrGglbNxyUIvklNAZEPnOY4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1682697631; 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: in-reply-to:in-reply-to:references:references; bh=eArH7PdFvvavwtKQoM+rHGjXGGAWvEMO23tgmGyhmN8=; b=EqgGemjePAD9ryz0Td69lnUqCAFoBWJ9H2ZLYh0MTkOmNDYqXdFuvPop1lWk7+zdP9g+BM h+3s3CYaLTRR8jCg== 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 68AEF138FA; Fri, 28 Apr 2023 16:00:31 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WGu2F5/tS2SRbQAAMHmgww (envelope-from ); Fri, 28 Apr 2023 16:00:31 +0000 From: Petr Vorel To: ltp@lists.linux.it Cc: Petr Vorel , NeilBrown , Cyril Hrubis , linux-nfs@vger.kernel.org Subject: [PATCH v4 3/4] nfs05.sh: Lower down the default values Date: Fri, 28 Apr 2023 18:00:37 +0200 Message-Id: <20230428160038.3534905-4-pvorel@suse.cz> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230428160038.3534905-1-pvorel@suse.cz> References: <20230428160038.3534905-1-pvorel@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_SOFTFAIL,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-nfs@vger.kernel.org nfs05_make_tree.c runs make which needs on Btrfs quite a lot of temporary space. This is a preparation for the next commit which start using all filesystems via TST_ALL_FILESYSTEMS=1. Currently we use 300 MB, which was not enough for Btrfs: Filesystem Type Size Used Avail Use% Mounted on /dev/loop0 btrfs 300M 62M 20K 100% /tmp/LTP_nfs05.Vau10kcszO/mntpoint After lowering the default values 96% (58M) is being used. Proper solution would be to detect available size in nfs05_make_tree.c and lower down values based on free space. Signed-off-by: Petr Vorel --- New in v4. testcases/network/nfs/nfs_stress/nfs05.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/network/nfs/nfs_stress/nfs05.sh b/testcases/network/nfs/nfs_stress/nfs05.sh index c18ef1ab4..34151b67a 100755 --- a/testcases/network/nfs/nfs_stress/nfs05.sh +++ b/testcases/network/nfs/nfs_stress/nfs05.sh @@ -8,8 +8,8 @@ # # Created by: Robbie Williamson (robbiew@us.ibm.com) -DIR_NUM=${DIR_NUM:-"10"} -FILE_NUM=${FILE_NUM:-"30"} +DIR_NUM=${DIR_NUM:-"8"} +FILE_NUM=${FILE_NUM:-"28"} THREAD_NUM=${THREAD_NUM:-"8"} TST_NEEDS_CMDS="make gcc" TST_TESTFUNC="do_test" -- 2.40.0