Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5186021pxv; Tue, 20 Jul 2021 22:33:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXzS3nrKWImovI6f+6y1+eCEGGVp3fVCkKucNThQnzGsYNmz64B9hdv6RFGtV1LOqXti+K X-Received: by 2002:a17:906:69cc:: with SMTP id g12mr36789944ejs.550.1626845608341; Tue, 20 Jul 2021 22:33:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626845608; cv=none; d=google.com; s=arc-20160816; b=mwwhZVftEnBdwAx9Cb/GLUqgjkCWbfptnCJb5t+J7/CqJDCnpWNxC/7sRLF3GzTpbj 6r21uXHMFb62BbDhRBwvV6fEAAGG/ApCR2tyLUABEh2IVy3iM56o1XArifO/It+LpV3u U7UQt7wb13zZRduTwD8g/nAFIQ9pbzQBePS3S6DTLWWQlvT4F85/9C1b/0wQLHAfizvz Ki3+C8g4WLz+2wqLBslqSSDFw1Wq8GkgZVQ//nGUpBe4YN45NACq0bXRx46C75v0IsKK /THI2/JQLiEhwoduwPdBcryZsuPBkvtoUugee3dB3GmykZd/wdSEEilxjr9U+769bjHm 2lhg== 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=+vw/7gKN0LmiBw5e83d/WZLglU6zOKQTmJQZKg6TM3A=; b=iY5eJ9bowEUuRnOtZEXmxfHS3nRr7OlMm2PvDAm5pCmRLgSdOUZPTs4Y8w3YXwtvO+ 8DsdZE01eMsfHEo1zq+iLOFQ1ZwEbHQa1882vTPy1cLa+pPJmlwIZRg30XlfiegbvGuj CD506/XJBRz54ZPnH75Y5/pgZiJrXX+n+7YWsa10MXuqKnA7D8PhH8wcXnaVkarwoWlJ xwAmdWNBYqXloApz/WH1el7voBgRUT9XOh98McfQpX71OC/Dh4IjGFhHUVsSgh3dgFam FQUQmZqa94brQ2T01eLN7SeOkbixMCEB5efi5nEaBgNXr9IZrPe49wAwy8vjY1z8pIWx b7BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PK7uC4lg; 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 a21si27282044edy.79.2021.07.20.22.33.04; Tue, 20 Jul 2021 22:33:28 -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=PK7uC4lg; 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 S232468AbhGUEsN (ORCPT + 99 others); Wed, 21 Jul 2021 00:48:13 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:3324 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232323AbhGUErn (ORCPT ); Wed, 21 Jul 2021 00:47:43 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16L5EjpR030863; Wed, 21 Jul 2021 01:28:19 -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=+vw/7gKN0LmiBw5e83d/WZLglU6zOKQTmJQZKg6TM3A=; b=PK7uC4lg8FIicmMK3JZ/c/lQnIdEL2sGpTG5pCxN0tE7P+XLiDMgJJOQ8nks6yl15uPC vlyGHm5LxifJub2kCv0hX7y58sv5vmHXvnEPb/eyPP/F73ZmZ1cfZ5iNTIH0v2XQGcL8 R+v6hC4e+udV2UkIVSyKiTbUnvUQ6/Ri9j+P0tMBbPpN77/fbowoHy5wrmXXlsGnTJPs rv0QTMC9a7ViX8AstMfxPcL/KeHSpTQG4W1MvDcqvdOhR6RhTKBMpMoqKKLDa8EmLn6X hVukzmzLwJgG2jnpeMpkN/iwhG3QgtnxmsOwvSP1VfBa668ziqhMT54kDnnflu/Zr1Jg xw== Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com with ESMTP id 39xd8k880y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jul 2021 01:28:14 -0400 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 16L5FgoJ004331; Wed, 21 Jul 2021 05:28:12 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma02fra.de.ibm.com with ESMTP id 39upu890d6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 21 Jul 2021 05:28:11 +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 16L5S93U35783094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Jul 2021 05:28:09 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7AAD7AE04D; Wed, 21 Jul 2021 05:28:09 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1B040AE053; Wed, 21 Jul 2021 05:28:09 +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:08 +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 3/9] ext4/306: Add -b blocksize parameter too to avoid failure with DAX config Date: Wed, 21 Jul 2021 10:57:56 +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-GUID: ps8IPZDqK5IKn5ifa7IOLPTNA1kUUUOG X-Proofpoint-ORIG-GUID: ps8IPZDqK5IKn5ifa7IOLPTNA1kUUUOG 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 bulkscore=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 adultscore=0 phishscore=0 spamscore=0 mlxlogscore=999 malwarescore=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 mkfs.ext4 by default uses 4K blocksize. On DAX config with a 64K pagesize platform (PPC64), this will fail to mount since DAX requires bs == ps. Hence add the -b blocksize paramter in ext4/306. Reviewed-by: Theodore Ts'o Signed-off-by: Ritesh Harjani --- tests/ext4/306 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/ext4/306 b/tests/ext4/306 index 4a339570..2ff88537 100755 --- a/tests/ext4/306 +++ b/tests/ext4/306 @@ -33,7 +33,10 @@ features="^extents" if grep -q 64bit /etc/mke2fs.conf ; then features="^extents,^64bit" fi -$MKFS_EXT4_PROG -F -O "$features" $SCRATCH_DEV 512m >> $seqres.full 2>&1 + +blksz=$(get_page_size) + +$MKFS_EXT4_PROG -F -b $blksz -O "$features" $SCRATCH_DEV 512m >> $seqres.full 2>&1 _scratch_mount # Create a small non-extent-based file -- 2.31.1