Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5184419pxv; Tue, 20 Jul 2021 22:30:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIUVKR1bOGHVGyWa3L0UbdeyiM3aTkIOzFK7+GBB6Ys6c1k8hfw0MxFQq5eOGunBP8/+Fz X-Received: by 2002:a92:c142:: with SMTP id b2mr9528549ilh.26.1626845413457; Tue, 20 Jul 2021 22:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626845413; cv=none; d=google.com; s=arc-20160816; b=aMZwEVqW3RpyS/U7p8MgU/lbnNFjEN4qkB0dEBJ2XcMkpcrm+/nWmpfYwI+XY60VMD +2JUN/fO5U/XAal8RNjG7Nhr3O4K+uZK2pknkcvBweg1ZX3UchHl3bj8EcO9pZFpRB4o i45RH5OowRuV0v2E3CQEbtw5fsmhE+GxD4J5VbSsi3Nzz/eC5Ya5AdpbX4t90q1XRnd2 EggNiMUkTZX/W2uNbuO5/FL1qGh94vpPXdvkyOkesV0TQeF1HNrvG2AiG666HQpZkgN3 Dc7oHgqp6zZjv7gth0mqtjJHjgAe0gGVsQmO0eEyfKz8nscPMIbeNN83CaKVu3v82w1F BFOw== 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; bh=x3GRL6dsgm9fWp6B0aJqjR3QHgva7/Dk+PzVsS5AmYA=; b=X/Q6F5C5onALs/seCBoTxfhgrRpdm3FMSxyJ6f5fgymDHLPuG9A19ZwKaD3PRoPpbK Zoo2IrxWBxoWm8hquJCqjjERy/jPTd+R4D5aEPabueBHaqSVObyNUrr7L42gC4dsF5XV +4gUeARXFYQOvrRCGj95/uBZWR1SQFl1qIrVO47s6IVza745N2cPfZxjLAMiti7nYe50 Iil9YtxRKMNqU4TBFGl6qjQ74KU6v3Xrm1ZunIkdknLeI7e9H55KTD0XsvOwiKmuTxar EO9ybOkDlkUrQkDyT2z8KoykGPvoCLAA2DW4juox7HlQ+YVbFMF8C0xGUKPxR8YIxRAb sCCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=HzIRgAwa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p13si25264221jak.113.2021.07.20.22.30.01; Tue, 20 Jul 2021 22:30:13 -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; dkim=pass header.i=@ibm.com header.s=pp1 header.b=HzIRgAwa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232323AbhGUEsP (ORCPT + 99 others); Wed, 21 Jul 2021 00:48:15 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:46396 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232390AbhGUErq (ORCPT ); Wed, 21 Jul 2021 00:47:46 -0400 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16L53aSr142258; Wed, 21 Jul 2021 01:28:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=x3GRL6dsgm9fWp6B0aJqjR3QHgva7/Dk+PzVsS5AmYA=; b=HzIRgAwafym51fGLBHYlvVkq532jqhf6b0zVhBzaANP/mlGkJHk+Sz3+g+TPGL8Fnkbc TEPYtA7t09q0cwSRFtV85/V8ER1FObehChyRQAHtT9L3dcVxPbqlzmfGNVj1bu38Ce7q RHlIyPuzWd4ckSgPRYABWmaSsWhvR9CBaWDog30cSBlrUks+kRjfrS6Z6eXKw4ZYEPr4 +8FjMdpJ8Yjb5fQs0/0y5pSL3TDiGVWN/7ciZwRoAxC41WzvTt4xCDk6cz/b0Isk/V28 mSk/i01J22oNpcyw8ujwEibfshUdLtOtt5+vC4Ck2YJE7pF49tXoeeJaIlqNouRPXVVb 2w== Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 39xan7bgjy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jul 2021 01:28:20 -0400 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 16L5Cxfb015125; Wed, 21 Jul 2021 05:28:18 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma04ams.nl.ibm.com with ESMTP id 39upu89p3c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jul 2021 05:28:18 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 16L5SG7W35783102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Jul 2021 05:28:16 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2117CAE051; Wed, 21 Jul 2021 05:28:16 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AF951AE045; Wed, 21 Jul 2021 05:28:15 +0000 (GMT) Received: from localhost (unknown [9.85.82.121]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 21 Jul 2021 05:28:15 +0000 (GMT) From: Ritesh Harjani To: fstests@vger.kernel.org Cc: linux-ext4@vger.kernel.org, "Theodore Ts'o" , "Darrick J . Wong" , Ritesh Harjani Subject: [PATCHv2 7/9] generic/620: Use _mkfs_dev_blocksized to use 4k bs Date: Wed, 21 Jul 2021 10:58:00 +0530 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: sTf-rnZsURHasWDAu00e0oh7HHm7fX-V X-Proofpoint-GUID: sTf-rnZsURHasWDAu00e0oh7HHm7fX-V X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-21_02:2021-07-21,2021-07-21 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 phishscore=0 impostorscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 mlxscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107210025 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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 _mount $DMHUGEDISK_DEV $SCRATCH_MNT || _fail "mount failed for $DMHUGEDISK_DEV $SCRATCH_MNT" testfile=$SCRATCH_MNT/testfile-$seq -- 2.31.1