Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1001439pxy; Sun, 1 Aug 2021 09:04:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDVR8HcMIa2ta3tJo7OIOBUc/w3EEewVf7+lR8eEn+KafnlGjK3Z5iyL5FJeuOVcMn2+Cx X-Received: by 2002:a5d:8456:: with SMTP id w22mr776538ior.63.1627833889766; Sun, 01 Aug 2021 09:04:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627833889; cv=none; d=google.com; s=arc-20160816; b=yxbH51Dhcs8XmmkQC6kqYulk0fOj8ipWTdE1Q/Fd0BMXzQXuA0fwuFhVQnAZMJZK7n VSEcGIGnJskTLvBU6dXxnjF8S1qxPjUil2sznxQ4kGIkGK8irA8/mmUFSOXH1tO1bbCb AeJ5Cq3iVqGwGhcy5rgM2TR6qP165iWuDePimDYkT8+swV7vRTI6PfWZ2mpcr52VUI+r 7CA2R3qZBYZ++NcaNhE6bYwr9GrogDlxp+ugUt4Tqh1JP8H3YtpmJUPTcOWTZaoI5hMd wzO2GiLiKxsqRpg0+OYqA6H9iGZk/yNMzoVpdGEkYi0cWTqSwYWgoC3E1457nAWQVizH uIfQ== 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=nRD9cQvq6lqjzl82Fj70OmgY9TmtO6eQHQDLRyN/mFo=; b=AFoKiu5t5hKnDZgL2nR9b5gy2NKT9rVej6mFB5gQPT5VcJg14kTh5rUxURL/xMnnkA aSpo+pVTobatCK3BJuKbj4ApitzdjF91pEpOBjVKgvu+WjRGJnaNFwIEh3dtvcNzKCCC fJP7dkA8EM8/GAKnzpZkhziamolnBok+PwuvYWTb2Z/dCT3z81Xz3f5EAbihO1eT/q5k sQ2g2SwI0/5bg10reW63Lhdd4IFItdEwMwk1I/H3BsoZ0fBWqjnXrK7nZOyewFrxqgAw O522DioxvqRO7rMiZ3o8hxHKyrnYuB6aj4zbUHXPNwiXwFyPHix1zj4kb83Tw2XfcW8D UwPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o8si9413811iow.53.2021.08.01.09.04.18; Sun, 01 Aug 2021 09:04:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231473AbhHAQDx (ORCPT + 99 others); Sun, 1 Aug 2021 12:03:53 -0400 Received: from out20-3.mail.aliyun.com ([115.124.20.3]:50424 "EHLO out20-3.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231470AbhHAQDx (ORCPT ); Sun, 1 Aug 2021 12:03:53 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1568787|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_regular_dialog|0.0485666-0.0247587-0.926675;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047192;MF=guan@eryu.me;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.KtsttxN_1627833823; Received: from localhost(mailfrom:guan@eryu.me fp:SMTPD_---.KtsttxN_1627833823) by smtp.aliyun-inc.com(10.147.43.95); Mon, 02 Aug 2021 00:03:43 +0800 Date: Mon, 2 Aug 2021 00:03:43 +0800 From: Eryu Guan To: Ritesh Harjani Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Theodore Ts'o , "Darrick J . Wong" Subject: Re: [PATCHv2 7/9] generic/620: Use _mkfs_dev_blocksized to use 4k bs Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Jul 21, 2021 at 10:58:00AM +0530, Ritesh Harjani wrote: > ext4 with 64k blocksize (passed by user config) fails with below error for > this given test which requires dmhugedisk. Since this test anyways only > requires 4k bs, so use _mkfs_dev_blocksized() to fix this. > > > mkfs.ext4: Input/output error while writing out and closing file system > > Signed-off-by: Ritesh Harjani > --- > tests/generic/620 | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/tests/generic/620 b/tests/generic/620 > index b052376f..444e682d 100755 > --- a/tests/generic/620 > +++ b/tests/generic/620 > @@ -42,7 +42,9 @@ sectors=$((2*1024*1024*1024*17)) > chunk_size=128 > > _dmhugedisk_init $sectors $chunk_size > -_mkfs_dev $DMHUGEDISK_DEV > + > +# Use 4k blocksize. > +_mkfs_dev_blocksized 4096 $DMHUGEDISK_DEV We run the test by forcing 4k blocksize, which could be tested in 4k blocksize setup. Maybe it's another case that should _notrun in 64k blocksize setup. Thanks, Eryu > _mount $DMHUGEDISK_DEV $SCRATCH_MNT || _fail "mount failed for $DMHUGEDISK_DEV $SCRATCH_MNT" > testfile=$SCRATCH_MNT/testfile-$seq > > -- > 2.31.1