Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1022943pxb; Wed, 6 Apr 2022 06:59:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4Lv7y+mbGX47yy4khzef9btVgJQ7sIQWr44jQjVHDj00MsmH5rKC9x9JWTwGIs5zkmRNF X-Received: by 2002:a65:584a:0:b0:399:5115:ff05 with SMTP id s10-20020a65584a000000b003995115ff05mr7159938pgr.380.1649253563368; Wed, 06 Apr 2022 06:59:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649253563; cv=none; d=google.com; s=arc-20160816; b=GT1hhM83r5vOU37V6QNT4aa2GIxl/zs+MAEGT0tdBtJcGifA3CwOPSQfG8tlXzomV1 llXOKJIqhK20HJL2MsVV4+gYlBSEJw6QDDaBX7PSDAthbeFks2kIjrMSI5Lnizn+zIx/ 0+MRCjn1dMKPm286fr2/2Jp1hNyx+CaGKb+b7+jUuF/vfP5S+oiX3f6S70AKtYKLLhIR abrpGMMsLX10FsK/g5M3YflZNhluB5Pk2KQnHn3XeYj4fBf6GvKEgeQaGSaUHYwt7eQu UmDQgtnj10+8Oot5XFHKnS0R/u5So3HcUUSihEyY5pHwvy13GLuVnJmLROpXQHM7ygpz RqzA== 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; bh=yMlEUnz+jrhJmjtN/YCOvZ9ZvuS6TXZx2W5B3BBcAbI=; b=cl0xgKMf8nLKbb6rx/vc8u+pJLZ2vZ9ZfMsiSSPtBZWULs1Y+oXCqGwry/hFe8Cjon K89jyvdETJvL0fFu7P+bI86wmW5u6svCNm0JX7hdXRQFMWE/vby/j3ogOuUxBTFyJi+j +8WCcm0IOM8/FR4Ghjt/7Q2zEpR/b1eqdjYw0DEwB4BSV5G935erFsmRKTEHhVvdacSg rEGydj/bQb8pPF+e8RscCJUwzaMNQr3hR7pTt5xQe1w/7Wn2ckP4tpvkEuAXqVIabf1a cmYBxZg+ErEK4DgY4CdGItUrhcjf0CDeZHaNwMVFSUS4fgeXBE7dD6LwC/UOr5f6IAHD KZmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p17-20020a17090ad31100b001caaf687506si4695818pju.94.2022.04.06.06.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:59:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 571A9A56DB; Wed, 6 Apr 2022 04:51:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232903AbiDFFNa (ORCPT + 99 others); Wed, 6 Apr 2022 01:13:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1581720AbiDEXkl (ORCPT ); Tue, 5 Apr 2022 19:40:41 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEE931CABF4; Tue, 5 Apr 2022 15:00:57 -0700 (PDT) Received: from cwcc.thunk.org (pool-108-7-220-252.bstnma.fios.verizon.net [108.7.220.252]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 235M0lKB028891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Apr 2022 18:00:48 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 6D78A15C3EB6; Tue, 5 Apr 2022 18:00:47 -0400 (EDT) Date: Tue, 5 Apr 2022 18:00:47 -0400 From: "Theodore Ts'o" To: Ritesh Harjani Cc: Dave Chinner , fstests , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Darrick J . Wong" , Ritesh Harjani Subject: Re: [PATCHv3 1/4] generic/468: Add another falloc test entry Message-ID: References: <75f4c780e8402a8f993cb987e85a31e4895f13de.1648730443.git.ritesh.list@gmail.com> <20220403232823.GS1609613@dread.disaster.area> <20220405110603.qqxyivpo4vzj5tlt@riteshh-domain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220405110603.qqxyivpo4vzj5tlt@riteshh-domain> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue, Apr 05, 2022 at 04:36:03PM +0530, Ritesh Harjani wrote: > > > +# blocksize and fact are used in the last case of the fsync/fdatasync test. > > > +# This is mainly trying to test recovery operation in case where the data > > > +# blocks written, exceeds the default flex group size (32768*4096*16) in ext4. > > > +blocks=32768 > > > +blocksize=4096 > > > > Block size can change based on mkfs parameters. You should extract > > this dynamically from the filesystem the test is being run on. > > > > Yes, but we still have kept just 4096 because, anything bigger than that like > 65536 might require a bigger disk size itself to test. The overall size > requirement of the disk will then become ~36G (32768 * 65536 * 18) > Hence I went ahead with 4096 which is good enough for testing. What if the block size is *smaller*? For example, I run an ext4/1k configuration (which is how I test block size > page size on x86 VM's :-). > But sure, I will add a comment explaining why we have hardcoded it to 4096 > so that others don't get confused. Larger than this size disk anyway doesn't get > tested much right? At $WORK we use a 100GB disk by default when running xfstests, and I wouldn't be surprised if theree are other folks who might use larger disk sizes. Maybe test to see whether the scratch disk is too small for the given parameters and if so skip the test using _notrun? - Ted