Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2895524rwi; Tue, 1 Nov 2022 13:09:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7XjlEuG1f5aDjhCHKgG2pOmNAfmw+O/LB46suk5yYkZkcV8X2/xxGtil9+JFubU9F2JS0L X-Received: by 2002:a05:6402:5024:b0:440:e4ad:f7b6 with SMTP id p36-20020a056402502400b00440e4adf7b6mr20763766eda.358.1667333358509; Tue, 01 Nov 2022 13:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667333358; cv=none; d=google.com; s=arc-20160816; b=RJn78YqIyOPkGabsdr75+iOhd5YQIGXKucckNg8ztPwbA7Pf5mEGG2rN+2RlMM3d7S Gk57Vlh2uGO0Lv3Dt6ZRltKQsUZHaMPf56Vfdz8s/BxPqbe15rHnyKGu3lasgKP3DGuq MNHCjV+oRFe0iQF0r42V3Pec0PlWMvXEzjwFl2tAO6XH8ij8gYLe6b4BaS3fhJjYfxXB Qwzu2NPGP+urKRVzYYeS1FgSMhI6JtyYiDFcfEH2uvnjElfTv2pYz/0fg1xjBPBw7XnQ k+g5he1OvbK2RhpVYP+NGxERzLFxFShQbS9lpwRJLWjT/+MB+u+WB0eRx1+G4LYoWo7q dtPw== 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; bh=eY3Bbf/zsfgvPOTh2hdbpVjyLjeS5IW8PfDYm2tuUFc=; b=hgagIxCStr5PfoeJi2h2w40pk/vg0IEe+5pGK7gj0ukt6dtzNRp2M4LR9OLvP4GTk4 sZ4zPsn+kzAgcmt8xKV6uBE+QD+luLX5OcfUtApTwQgfWJ5PHX4a5wK0eO0h4tfeBBQt qANdHbk8EOB4qqpCWpb1X15OEleEFyMMvxYy9jrF2UoUSJ0+h9C2TXpwqstKaGdnQwVz PJopqyGrhFaEp+lMkGG9Nt+F8Rx9ZZE6K+3S0rBMGrHjB5wy4t2X8QU5RMCDssrWHBk8 bLhVI98qPfHbmk8yLzrezPrSJj6OJbhRsY+Hc01QXPz/hBDr6gNUNmrP6qUw8Hia5X1v bAKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fzsBiB75; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z22-20020a17090665d600b007a835c56b70si11361254ejn.267.2022.11.01.13.08.46; Tue, 01 Nov 2022 13:09:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@gmail.com header.s=20210112 header.b=fzsBiB75; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229601AbiKAUHj (ORCPT + 99 others); Tue, 1 Nov 2022 16:07:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiKAUHi (ORCPT ); Tue, 1 Nov 2022 16:07:38 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3538D1C93C for ; Tue, 1 Nov 2022 13:07:37 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id 8so10367813qka.1 for ; Tue, 01 Nov 2022 13:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=eY3Bbf/zsfgvPOTh2hdbpVjyLjeS5IW8PfDYm2tuUFc=; b=fzsBiB75R9xGI6BUBREcLDDHTmEgobKJ4HKnKcPGYrP5athM3eKZ1cipclzKjEurYc IJGQo/t4iVxDBm8w37vcvmRgRRp1ekP0VqQE28OAyGlJLrY/MXx4WyIlvRqKxxjSWQI8 eQQ+g/ZalomV7Zq2AEzB/oae1HGDD2WCFj5GrIOx5MmzuPMjHh/+Vx3thYewhI4fLw4z STH0ZcBjX17EM5aNYo35KfVoZqr6VOnSHPCLT92xIf5D9dqFPzt13bm3aU57elOVqdqv Ga0VPWh1kfTfTA+brWW0yF/koRuXq4b13dXMJvtjQ5SGUen5ukvJ+bRolV4xY/E5dD2l STxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eY3Bbf/zsfgvPOTh2hdbpVjyLjeS5IW8PfDYm2tuUFc=; b=s4jcrE4mRnZ5X2yysQdmEVupxhT/qj4HFaUFWT48Fe0052Lx/aSzCrKw56gDj0nTvm iJp6co++wd8DCd23PeeZgmrAoDO/VxpZe/YNFBMOHi+HbLK1WA9sPrN22Br3WtWC5pBP +VJ3Z6EkGpxcgxMsZetEvoIisDeBJ3kdJiDQCCiglY4LmvYdcgY/ZOc126gpra3VUf2P MtJTVkP96RXc5eSUo900nEQLV267sbNdvISrHlMPFlNy14rTo9yIcaQDjIo7DHYHYAp3 12aR9OhGwqDuXKokHxwmLaIis3gIdJpPoaRifmbFMMj4lQclIEp80HoBlMEQI1OsLjo+ 1vDg== X-Gm-Message-State: ACrzQf2uhWYpCR+aT3OUh9hDhMen4noE5FdXmYulaE4bGq83SC/HFw7P cyafqymVZ7ALo+cVpdhTMAsF+SMu33c= X-Received: by 2002:a05:620a:400b:b0:6ee:e1f0:440f with SMTP id h11-20020a05620a400b00b006eee1f0440fmr14437433qko.558.1667333256115; Tue, 01 Nov 2022 13:07:36 -0700 (PDT) Received: from localhost.localdomain (h96-61-90-13.cntcnh.broadband.dynamic.tds.net. [96.61.90.13]) by smtp.gmail.com with ESMTPSA id d14-20020a05620a240e00b006e07228ed53sm7349438qkn.18.2022.11.01.13.07.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Nov 2022 13:07:35 -0700 (PDT) From: Eric Whitney To: linux-ext4@vger.kernel.org Cc: tytso@mit.edu, Eric Whitney Subject: [PATCH] test-appliance: force 4 KB block size for bigalloc, bigalloc_inline Date: Tue, 1 Nov 2022 16:07:26 -0400 Message-Id: <20221101200726.142241-1-enwlinux@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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-ext4@vger.kernel.org The cfg file for the bigalloc test configuration does not explicitly define the file system block size as is done for the 4k configuration, although the intent is to test a file system with 4 KB blocks and 64 KB clusters. At least one test, shared/298, runs with a block size of 1 KB instead under bigalloc because it creates a file system image less than 512 MB in size, a result of the mke2fs.conf block size rule for small files. shared/298 currently fails when run under bigalloc with 1 KB blocks. When the block size is set to 4 KB for the test, it passes. Explicitly defining the bigalloc block size will help avoid similar surprises in current or future tests written to use small test files. Make the same change to the bigalloc_inline config file while we're at it. Signed-off-by: Eric Whitney --- test-appliance/files/root/fs/ext4/cfg/bigalloc | 2 +- test-appliance/files/root/fs/ext4/cfg/bigalloc_inline | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-appliance/files/root/fs/ext4/cfg/bigalloc b/test-appliance/files/root/fs/ext4/cfg/bigalloc index 18b0a60..366bf38 100644 --- a/test-appliance/files/root/fs/ext4/cfg/bigalloc +++ b/test-appliance/files/root/fs/ext4/cfg/bigalloc @@ -1,5 +1,5 @@ SIZE=large -export EXT_MKFS_OPTIONS="-O bigalloc" +export EXT_MKFS_OPTIONS="-b 4096 -O bigalloc" export EXT_MOUNT_OPTIONS="" # Until we can teach xfstests the difference between cluster size and diff --git a/test-appliance/files/root/fs/ext4/cfg/bigalloc_inline b/test-appliance/files/root/fs/ext4/cfg/bigalloc_inline index 46af536..12ad66e 100644 --- a/test-appliance/files/root/fs/ext4/cfg/bigalloc_inline +++ b/test-appliance/files/root/fs/ext4/cfg/bigalloc_inline @@ -1,5 +1,5 @@ SIZE=large -export EXT_MKFS_OPTIONS="-O bigalloc,inline_data" +export EXT_MKFS_OPTIONS="-b 4096 -O bigalloc,inline_data" export EXT_MOUNT_OPTIONS="" # Until we can teach xfstests the difference between cluster size and -- 2.30.2