From patchwork Fri Jun 18 11:09:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331087 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E168C49EA2 for ; Fri, 18 Jun 2021 11:10:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2FE42613F3 for ; Fri, 18 Jun 2021 11:10:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232757AbhFRLM0 (ORCPT ); Fri, 18 Jun 2021 07:12:26 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:23528 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbhFRLM0 (ORCPT ); Fri, 18 Jun 2021 07:12:26 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15IB3geh035518; Fri, 18 Jun 2021 07:10:16 -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=yOZoIrIghmoW8iM29hRfZ45wNEKTKBf98wagoF026Wk=; b=BEoOvgb0iHvqgluWiAX5+d6NH2f9cSx5KTPJRxVJn8UPtFJ+j0VJ+Dd8hcflkvEK1qud fmUHZpQbPH7kTuBDcGfqhUFmpGA5n57X6DmfneLyNqgTSjpDKlzG4BH/9FcyQMWC5NPY 8IczYDnR0m0K8pZWOX+AvU96t0D9JUta+R5mYSVei81iY5Elv95nW6ugCzhf20zBE/VH y1glyy2lVcXD7nh/N4ZHqRwpU2bt2XQgAjzDo3LQC0surpfvx+qFbQGdBiv6oPZTT+8S UAhhKM3MHX/DwX3TzclGKQtBF/IjnDThWkzYjP1r+HdDPoP0OMLrVRmt/mYIxDIEi5kw EQ== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 398hn76etg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:10:15 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15IBA0cx029267; Fri, 18 Jun 2021 11:10:13 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma03ams.nl.ibm.com with ESMTP id 394mj8u8s5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:13 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15IBABX920578586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:10:11 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 47EAFAE045; Fri, 18 Jun 2021 11:10:11 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E503CAE057; Fri, 18 Jun 2021 11:10:10 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:10 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 1/9] ext4/cfg/dax: Fix for 64K pagesize platform Date: Fri, 18 Jun 2021 16:39:52 +0530 Message-Id: <44ec9ffa86474eec5263a0f420cee33380dbe89b.1624007533.git.riteshh@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: QYsoB7RsCeEbUfgMURqSdBnaFHGiWtx2 X-Proofpoint-GUID: QYsoB7RsCeEbUfgMURqSdBnaFHGiWtx2 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=912 malwarescore=0 phishscore=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 spamscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org For dax we need blocksize same as pagesize. Hence make changes in this to get the blocksize via $(getconf PAGE_SIZE) to fix it on 64K pagesize platforms e.g. POWER. Signed-off-by: Ritesh Harjani --- kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax index b46e661..de25d91 100644 --- a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax +++ b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/dax @@ -2,6 +2,6 @@ export TEST_DEV=/dev/pmem0 export TEST_DIR=$SM_TST_MNT export SCRATCH_DEV=/dev/pmem1 export SCRATCH_MNT=$SM_SCR_MNT -export EXT_MKFS_OPTIONS="-b 4096" +export EXT_MKFS_OPTIONS="-b $(getconf PAGE_SIZE)" export EXT_MOUNT_OPTIONS="dax" -TESTNAME="Ext4 4k block using DAX" +TESTNAME="Ext4 using DAX" From patchwork Fri Jun 18 11:09:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331089 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29209C48BDF for ; Fri, 18 Jun 2021 11:10:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F8D6613D6 for ; Fri, 18 Jun 2021 11:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233005AbhFRLM2 (ORCPT ); Fri, 18 Jun 2021 07:12:28 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36376 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbhFRLM2 (ORCPT ); Fri, 18 Jun 2021 07:12:28 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15IB3J7O054799; Fri, 18 Jun 2021 07:10:17 -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=blEQM4BBP9v1jdR3Ua/abPMsYz7Z5a0b67HOHlwmAQw=; b=nHJITgdu97/L0uku525xeCSVxX7UUxo+jk32XRoGRRANULJD+ZasVmcLVi0BDkhFDzXS RICwkYS+gejUU20l+CZtl6HAXvJq/lWmWf9RtcG7xxqdLqQ/WHVqsoEeYljfcwmkK1m3 HSCBzvdq9YSUy03fF4zM9U6l35u74PKgVl+Bdfgdqx6gZ4S90vB6qwIaqZ4+Xxl6QeP9 /KZgb3pKhx0+nUE5A4bopJJ/pbbvBlR0dCgDeV019IR9Ogg8TdmS4ssvYqdPS6Ufqm5J sbKa937gh4mVdUeReg/9IYwXIUhXSCglSpfcEIjRfJgRysaLw1azi2Fpz+5AxBXP4k2f VQ== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 398qenda3p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:10:17 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15IBAC83010861; Fri, 18 Jun 2021 11:10:15 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma06ams.nl.ibm.com with ESMTP id 394m6hu8qb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:15 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15IBACEP34079128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:10:12 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9F722AE04D; Fri, 18 Jun 2021 11:10:12 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 47B70AE053; Fri, 18 Jun 2021 11:10:12 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:12 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 2/9] ext4/cfg/64K: Add a 64K related config file Date: Fri, 18 Jun 2021 16:39:53 +0530 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: t-ah1mK-jfiE6AxKY9014yio_D9Xu8Br X-Proofpoint-GUID: t-ah1mK-jfiE6AxKY9014yio_D9Xu8Br X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 adultscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 spamscore=0 mlxlogscore=984 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org Add a 64K related config for platforms like PPC64. Signed-off-by: Ritesh Harjani --- kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/64k | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/64k diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/64k b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/64k new file mode 100644 index 0000000..1f5e6f2 --- /dev/null +++ b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/64k @@ -0,0 +1,4 @@ +SIZE=small +export EXT_MKFS_OPTIONS="-b 65536" +export EXT_MOUNT_OPTIONS="" +TESTNAME="Ext4 64k block" From patchwork Fri Jun 18 11:09:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331091 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8B95C48BE8 for ; Fri, 18 Jun 2021 11:10:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF1A8613F0 for ; Fri, 18 Jun 2021 11:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbhFRLM3 (ORCPT ); Fri, 18 Jun 2021 07:12:29 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:17734 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230441AbhFRLM2 (ORCPT ); Fri, 18 Jun 2021 07:12:28 -0400 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15IB3omT162961; Fri, 18 Jun 2021 07:10:18 -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=SckmTUykzv5X7/KeinHrP4w5g6FLpQcgM/pNp6sHEJM=; b=UR4yJaB0AyxltjZzhdfuuVdrvc06k2Fq93Ozz6UY0B4BJqexu9nIt+66N/HfdYtG2Ps7 7FEqYwX/BX3ORpJPqP7qg6/Tad+wHICvqkLfrDvIv3gnXFrEftP3LWkANfIf6gfQ5XLt R384IWYt/to4IuYz0jwILR81Qu9PPdLeP3bY41XUNLDFsCbrk6uHIVdoL6+irdYOHKlw IoiSbQUCPKuJn+mXz9x7YU1QgcWPa0gqLc04vRUMPP9fsrh+jSkyCrPtalo1G6J6u/Y0 uQzl7G0GRk208og5dGbWiSICUWnXgHKebZ+5tII55YNXvJFgLMwvWE7zX/kjY2mdL97m XA== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 398s8hhuku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:10:18 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15IB8kWc010187; Fri, 18 Jun 2021 11:10:16 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma06ams.nl.ibm.com with ESMTP id 394m6hu8qd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:16 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15IB93u035914004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:09:03 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 02C57AE051; Fri, 18 Jun 2021 11:10:14 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9FBB4AE04D; Fri, 18 Jun 2021 11:10:13 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:13 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 3/9] ext4/cfg/fast_commit: Add explicit 4k bs option Date: Fri, 18 Jun 2021 16:39:54 +0530 Message-Id: <60efcffc39fce13eeb13954a592e2c20d390be02.1624007533.git.riteshh@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: onuGaunXsZPha3X2u1Q_LKpidOZm3ThZ X-Proofpoint-GUID: onuGaunXsZPha3X2u1Q_LKpidOZm3ThZ X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 spamscore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=947 impostorscore=0 suspectscore=0 clxscore=1015 bulkscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org This test as of now is mainly used to test with 4k blocksize. Hence add an explicit "-b 4096" option to reflect the same. Signed-off-by: Ritesh Harjani --- kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit index 0659c1a..295cda3 100644 --- a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit +++ b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit @@ -1,4 +1,4 @@ SIZE=small -export EXT_MKFS_OPTIONS="-I 256 -O fast_commit,64bit" +export EXT_MKFS_OPTIONS="-b 4096 -I 256 -O fast_commit,64bit" export EXT_MOUNT_OPTIONS="" TESTNAME="Ext4 4k block w/fast_commit" From patchwork Fri Jun 18 11:09:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73FF1C48BDF for ; Fri, 18 Jun 2021 11:10:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5F24F6102A for ; Fri, 18 Jun 2021 11:10:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233249AbhFRLMc (ORCPT ); Fri, 18 Jun 2021 07:12:32 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34460 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230441AbhFRLMa (ORCPT ); Fri, 18 Jun 2021 07:12:30 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15IB3sSV106636; Fri, 18 Jun 2021 07:10: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=0urVU+0t17nboPM5gabBBN4Hi9aABLAQwpeO0QF3gGc=; b=UU8fDkqkKRwsUghfWGqbUmdmymAN8BroD6L0uNcrNw6V45z5OeISTB6X9DisLgzOIUFA BoNaJWg7GFwUnTOhCa/RXxadWzGhkQMozWFqmCY9mr/u1j4BkRxo8HIHsEALpbiL8WUy YGkZT2XVolEtoMDykWLsyL1YTVrFA+iCU/us2g2ReiAE3TQxF+wWgY0LSpTyOW7bWi7C KVMmXIGQa4aZwO06U6jpOU6u+NZbYYYp8/HVtPqPbKICBSOMffggdSC4QoId7s+9jMeS VqrPAHCLIse3BVZHw9OALOw0rgbc+D17/lEXZfxzkYY+ylrihn9614mj0DXFRNoowY9x wA== Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 398retuj5x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:10:19 -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 15IB9jd5012105; Fri, 18 Jun 2021 11:10:17 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma04ams.nl.ibm.com with ESMTP id 394mj8u8xq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:17 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15IB97NC36503840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:09:07 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5903EAE04D; Fri, 18 Jun 2021 11:10:15 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 01299AE056; Fri, 18 Jun 2021 11:10:15 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:14 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 4/9] ext4/cfg/fast_commit_64K: Add a config file to test fast_commit with 64K bs Date: Fri, 18 Jun 2021 16:39:55 +0530 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: R1oMYxfmy8ZLPJMQbHJRde_DhOYiNmJV X-Proofpoint-ORIG-GUID: R1oMYxfmy8ZLPJMQbHJRde_DhOYiNmJV X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 clxscore=1015 malwarescore=0 spamscore=0 mlxscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org This can be used to test fast_commit with 64K blocksize on platforms like PPC64. Signed-off-by: Ritesh Harjani --- .../test-appliance/files/root/fs/ext4/cfg/fast_commit_64k | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit_64k diff --git a/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit_64k b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit_64k new file mode 100644 index 0000000..4b0d3b1 --- /dev/null +++ b/kvm-xfstests/test-appliance/files/root/fs/ext4/cfg/fast_commit_64k @@ -0,0 +1,4 @@ +SIZE=small +export EXT_MKFS_OPTIONS="-b 65536 -I 256 -O fast_commit,64bit" +export EXT_MOUNT_OPTIONS="" +TESTNAME="Ext4 64k block w/fast_commit" From patchwork Fri Jun 18 11:09:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331097 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1FB7C48BE8 for ; Fri, 18 Jun 2021 11:10:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C44D36102A for ; Fri, 18 Jun 2021 11:10:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230441AbhFRLMd (ORCPT ); Fri, 18 Jun 2021 07:12:33 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:26466 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233132AbhFRLMc (ORCPT ); Fri, 18 Jun 2021 07:12:32 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15IB3svw106617; Fri, 18 Jun 2021 07:10:21 -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=Y0HoqDfeHPpataXodm2Dv2hiy5ZVDGvEtciap5BzZ8o=; b=AiGtWxzotLq7FVJJDXkqVDyX5v6VHB+vnphSn4yQdexDNox8q7ybmi2o4ES1ojrvvt94 aD2z3fI5hP2C81etuFWUjyiFIA5J37kr1JHAlEDvJu8Ch+Z61UsnNr41Csf1KQY2LzhS in2GPLwaiqu7UZCfjxa3pGyDsQedkttAA4YmE5inonmFj4UpCOof3gVZ6h2nLC7e/8zk 5yEf+MXXaKfk5FAKccWy6xJiXjx1IS7Auv3POwbAtujZ1YBPUEBBtZ2oJQ08FA0ABO+9 mHv22Dx+Gtsfbvj6BmSOR0XKys9JUpj7DJ5MeqMVx6iGVecXcvGHS6/wNhRiwA0/Njc+ ww== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 398retuj6v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:10:21 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15IB8ruR028765; Fri, 18 Jun 2021 11:10:19 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03ams.nl.ibm.com with ESMTP id 394mj8u8s8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:19 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15IBAGZ516384332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:10:16 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9E39BAE053; Fri, 18 Jun 2021 11:10:16 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4BA93AE051; Fri, 18 Jun 2021 11:10:16 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:16 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 5/9] xfs/cfg/dax: Fix this config to work on 64K pagesize platform too Date: Fri, 18 Jun 2021 16:39:56 +0530 Message-Id: <44fca888a4a6c5d628773efbe98ec53cc1bbf7e3.1624007533.git.riteshh@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: Xu909pJwa-DJtobuQ6vSI3Y1_JKDEVRj X-Proofpoint-ORIG-GUID: Xu909pJwa-DJtobuQ6vSI3Y1_JKDEVRj X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 clxscore=1015 malwarescore=0 spamscore=0 mlxscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org w/o this patch XFS DAX tests fails on 64K pagesize platform like PPC64. Signed-off-by: Ritesh Harjani --- kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/dax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/dax b/kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/dax index 6c85796..3a12ad2 100644 --- a/kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/dax +++ b/kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/dax @@ -2,6 +2,6 @@ export TEST_DEV=/dev/pmem0 export TEST_DIR=$SM_TST_MNT export SCRATCH_DEV=/dev/pmem1 export SCRATCH_MNT=$SM_SCR_MNT -export XFS_MKFS_OPTIONS="-bsize=4096 -mreflink=0" +export XFS_MKFS_OPTIONS="-bsize=$(getconf PAGE_SIZE) -mreflink=0" export XFS_MOUNT_OPTIONS="-o dax" TESTNAME="XFS using DAX" From patchwork Fri Jun 18 11:09:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331095 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EA72C49EA3 for ; Fri, 18 Jun 2021 11:10:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 59946613F0 for ; Fri, 18 Jun 2021 11:10:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233132AbhFRLMd (ORCPT ); Fri, 18 Jun 2021 07:12:33 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55996 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233264AbhFRLMd (ORCPT ); Fri, 18 Jun 2021 07:12:33 -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 15IB3mb6019680; Fri, 18 Jun 2021 07:10:23 -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=SR/lXVzgeL9qm56sESRUS/uMx8ja3zNrnlNN0a7ugDA=; b=bj0yjKizxoaoW+9MfYaS1DqHtb5ulXr8lqcov46IEgyNciSwYqnbS48MaL219vfc7SoI QSLkc8rfBPv1IgHAfXvICL735owP0dMtlHQTxCF/q9HpYypTvD4PXK4WeqeI8Xh/YJkm uxeUARYW75S9FWzXHIMQkhio1GfNX24854HhQ+6fYSL3Xh3JK1Gi0uzmHDGNY0cS8EK1 XiHRYyeZpfhKnZfpejKa97LRIyWHXRG8Xi6XwjYhUgY8fHii32AwVvIbGOYVTlsNh/kc 9SRA7nscRtNX4iH2J7QrEheAKSHhyw08jixuCjT9S7tkLu3i5j+CHdAiYjsQ8IgPVrcQ DA== Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com with ESMTP id 398s44jap3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:10:22 -0400 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15IB9Akg026749; Fri, 18 Jun 2021 11:10:20 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma06fra.de.ibm.com with ESMTP id 394m6h9te4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:20 +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 15IBAH4731523244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:10:18 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D6E5AAE04D; Fri, 18 Jun 2021 11:10:17 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 84D20AE045; Fri, 18 Jun 2021 11:10:17 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:17 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 6/9] xfs/cfg/64K: Add a config file with 64K blocksize Date: Fri, 18 Jun 2021 16:39:57 +0530 Message-Id: <52f2ee6dd0517582f8642d51f20dfe8e665d98d3.1624007533.git.riteshh@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: YcT45KJ-3qEpefyOC8OEquvSVTcRnS_y X-Proofpoint-GUID: YcT45KJ-3qEpefyOC8OEquvSVTcRnS_y X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 mlxlogscore=849 spamscore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 phishscore=0 clxscore=1015 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org This adds a 64K blocksize config file for xfs testing. Signed-off-by: Ritesh Harjani --- kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/64k | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/64k diff --git a/kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/64k b/kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/64k new file mode 100644 index 0000000..3666d02 --- /dev/null +++ b/kvm-xfstests/test-appliance/files/root/fs/xfs/cfg/64k @@ -0,0 +1,3 @@ +SIZE=small +export XFS_MKFS_OPTIONS="-bsize=65536" +TESTNAME="XFS 64k block" From patchwork Fri Jun 18 11:09:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331099 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1339C49361 for ; Fri, 18 Jun 2021 11:10:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AA3F7613D6 for ; Fri, 18 Jun 2021 11:10:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233478AbhFRLMe (ORCPT ); Fri, 18 Jun 2021 07:12:34 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:45790 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233357AbhFRLMe (ORCPT ); Fri, 18 Jun 2021 07:12:34 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15IB2mMm080216; Fri, 18 Jun 2021 07:10:23 -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=wG3dItIGJx5nWHwfOOy4fKoHijrTyKPmYfp4/LAqaFo=; b=qL689weGoZFbOfvX6G+IbINgeToyvXt/gNbsHaBWo/21CWYb7+BUJaThqkSOgyqLZdu2 YfHXAg0myOYQbw+tpNTq0ooHmyj8i6WBV6mJjNL+3KPED3o6xOgNqXi00umMUCsDzDRN tz2ytYfTxJE900AjGXrseARTuAu0s5hVW5gVGhktS7HHatDHaelvHvzwBlxGJzfnuAkS 38VO0R0Tg4Tp/jsux0g9XvO9CMvbeppqdBtJ+CJuj9YRMKo7kHj+2qrdoDn4ZKmK2NGC iWxwjhh0h5iqQuifFGJL71l6mK8VVZ9li276/yuUn8DXRvvwDBWAJoPCU94Q1yBm8L0D RA== Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 398rhbu7nf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:10:23 -0400 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15IB7rRQ003508; Fri, 18 Jun 2021 11:10:21 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma04fra.de.ibm.com with ESMTP id 394mj8st9b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:21 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15IBAJDG23921148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:10:19 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2A3F8AE057; Fri, 18 Jun 2021 11:10:19 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C7C44AE04D; Fri, 18 Jun 2021 11:10:18 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:18 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 7/9] btrfs/cfg: Add 4k and 64k related configs Date: Fri, 18 Jun 2021 16:39:58 +0530 Message-Id: <6580f4c95aee22762faee755804a49b275cbc2eb.1624007533.git.riteshh@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: rNBObqEWKOewjNRen6vpoK04WxILO6Z9 X-Proofpoint-GUID: rNBObqEWKOewjNRen6vpoK04WxILO6Z9 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 priorityscore=1501 suspectscore=0 malwarescore=0 mlxlogscore=728 bulkscore=0 mlxscore=0 impostorscore=0 clxscore=1015 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org This adds btrfs 4k and 64k configs. Signed-off-by: Ritesh Harjani --- kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/4k | 5 +++++ kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/64k | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/4k create mode 100644 kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/64k diff --git a/kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/4k b/kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/4k new file mode 100644 index 0000000..c384b8d --- /dev/null +++ b/kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/4k @@ -0,0 +1,5 @@ +SIZE=small +export MKFS_OPTIONS="-s 4096 -n 4096" +export MOUNT_OPTIONS="" +export SCRATCH_DEV_POOL="/dev/vdc /dev/vdi /dev/vdj /dev/vdk" +TESTNAME="btrfs 4k block" diff --git a/kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/64k b/kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/64k new file mode 100644 index 0000000..c234101 --- /dev/null +++ b/kvm-xfstests/test-appliance/files/root/fs/btrfs/cfg/64k @@ -0,0 +1,5 @@ +SIZE=small +export SCRATCH_DEV_POOL="/dev/vdc /dev/vdi /dev/vdj /dev/vdk" +export MKFS_OPTIONS="-s 65536 -n 65536" +export MOUNT_OPTIONS="" +TESTNAME="btrfs 64k block" From patchwork Fri Jun 18 11:09:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331101 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 088C3C49EA3 for ; Fri, 18 Jun 2021 11:10:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7806613F2 for ; Fri, 18 Jun 2021 11:10:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233357AbhFRLMg (ORCPT ); Fri, 18 Jun 2021 07:12:36 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:48706 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233543AbhFRLMf (ORCPT ); Fri, 18 Jun 2021 07:12:35 -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 15IB3nNc019791; Fri, 18 Jun 2021 07:10:25 -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 : content-transfer-encoding : mime-version; s=pp1; bh=aHXSEeipvdqcaWVoz84Nmladvcs+yX1bx/EmIf2tUdw=; b=DmzcKjnGX0Fy8uqkHUwuMFolJd76eOquzou0tVLnGpvREP25CrBN0q6Pd9PPxoLv38eP TdZXT/2L2uI9h40Z25wSuFZDGvT5hfAzt4Eu1BGkaReAP4Sy04It7Ko+vnNUhiuAFJLN VOTSMP1//OAVQNClsXn0YuF0uBGtWQwVi+W91JGhszjSvvgbR/0RnyM8ryt3BMfmO5Vn VrfAoWbVBK9Q/BbhzqMR6LcLHp2Ba1Mjp+/zLVcBG/18oSNhiE1ZdIpWiNQW83HrmZqF Mf9n0/fS3QqIIF0OUu0bYLUtEYP1ZqvlX94weyeCi7YglEmZaZZ7TluVsx66kvdsWutO Xg== Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 398s44japu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:10:24 -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 15IB99GR012034; Fri, 18 Jun 2021 11:10:22 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 394mj8u8xr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:22 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15IBAK1x28836282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:10:20 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5B912AE051; Fri, 18 Jun 2021 11:10:20 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 16848AE04D; Fri, 18 Jun 2021 11:10:20 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:19 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 8/9] runtests.sh: Fix when SCRATCH_DEV_POOL is passed Date: Fri, 18 Jun 2021 16:39:59 +0530 Message-Id: <5eab116f5daa4cf36adde6e5175a88ee1df60e7c.1624007533.git.riteshh@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: zRQh6_O9VgICE7V0GFeLYJOe1thtL2jT X-Proofpoint-GUID: zRQh6_O9VgICE7V0GFeLYJOe1thtL2jT X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 suspectscore=0 mlxlogscore=852 spamscore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 phishscore=0 clxscore=1015 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org btrfs may need more than 1 disk which mostly needs to be passed via SCRATCH_DEV_POOL. In such case we should not set SCRATCH_DEV [1]. [1]: https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/README#n55 Signed-off-by: Ritesh Harjani --- kvm-xfstests/test-appliance/files/root/runtests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kvm-xfstests/test-appliance/files/root/runtests.sh b/kvm-xfstests/test-appliance/files/root/runtests.sh index 6cbda62..bfc5b24 100755 --- a/kvm-xfstests/test-appliance/files/root/runtests.sh +++ b/kvm-xfstests/test-appliance/files/root/runtests.sh @@ -288,6 +288,12 @@ do export LOGWRITES_DEV=$LG_SCR_DEV fi fi + + # This is required in case of BTRFS uses SCRATCH_DEV_POOL + if [[ -n $SCRATCH_DEV_POOL ]]; then + unset SCRATCH_DEV + fi + case "$TEST_DEV" in */ovl|9p*) ;; *:/*) ;; From patchwork Fri Jun 18 11:10:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ritesh Harjani X-Patchwork-Id: 12331151 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3D51C48BDF for ; Fri, 18 Jun 2021 11:31:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76435610CA for ; Fri, 18 Jun 2021 11:31:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232851AbhFRLdy (ORCPT ); Fri, 18 Jun 2021 07:33:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:18354 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232090AbhFRLdx (ORCPT ); Fri, 18 Jun 2021 07:33:53 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15IB3qaE108345; Fri, 18 Jun 2021 07:31:42 -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=Z5pV4U5jcmPzNryHW53l24ZHOhZpaChlG5/QJvukUp0=; b=MWcYsLBAeio+C7whojKMHEw3PfP8mq96mc/8BeQ7zQMYlC3HHHIO7q38i47iD9hng0Ju dB467/nFOpaJ+ubxo49tlPodZ3fGnBjTnXR1pt2zu89zcq3q2GhSxL2Gklf/QbU1YtXa uX7VQROqfeG1W7sbTE4neYeJ/9HOLrMHlgOcaMzkxIcgaHxMUmcP76WtBALhXpxgwC+G XxRRMw+/XJeYwVsMV6l/uaFW7pf6ppG6RhqSrKbZZ1qucyqPHO38rK/7TwYrezWiThSW U29UK48iBEBVqY6HSTovCQhiDAo+dpHEQ2J8vaVh/LRKIdyXoyIsgDRYmdkNwIQ9mhfq Jg== Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 398sk7sxt1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 07:31:42 -0400 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15IB9SXW010974; Fri, 18 Jun 2021 11:10:24 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma05fra.de.ibm.com with ESMTP id 394mj8ht7j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 11:10:23 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15IB9Atb32833926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Jun 2021 11:09:10 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AC3B6AE051; Fri, 18 Jun 2021 11:10:21 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 56AABAE045; Fri, 18 Jun 2021 11:10:21 +0000 (GMT) Received: from localhost (unknown [9.85.68.238]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 Jun 2021 11:10:21 +0000 (GMT) From: Ritesh Harjani To: "Theodore Ts'o" Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 9/9] xfstests-packages: Add some more packages. Date: Fri, 18 Jun 2021 16:40:00 +0530 Message-Id: <553d8fb3aea3ceb46bbc95adf2fd69e7c8045024.1624007533.git.riteshh@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: CtTL84WbcIdcMQeQr4aF7H7V34-lxaC1 X-Proofpoint-ORIG-GUID: CtTL84WbcIdcMQeQr4aF7H7V34-lxaC1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-06-18_04:2021-06-18,2021-06-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 lowpriorityscore=0 bulkscore=0 phishscore=0 spamscore=0 adultscore=0 suspectscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106180064 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org libnuma-dev is required otherwise fio complaints and failes to start (seen on ppc64el) ndctl is required for creating pmem namespaces. remaining are good to have packages in case if any editing is required when debugging/accessing shell using telnet. Signed-off-by: Ritesh Harjani --- kvm-xfstests/test-appliance/xfstests-packages | 4 ++++ 1 file changed, 4 insertions(+) -- 2.31.1 diff --git a/kvm-xfstests/test-appliance/xfstests-packages b/kvm-xfstests/test-appliance/xfstests-packages index 77dc2a8..85ca6a6 100644 --- a/kvm-xfstests/test-appliance/xfstests-packages +++ b/kvm-xfstests/test-appliance/xfstests-packages @@ -53,3 +53,7 @@ udftools uuid-runtime udev xz-utils +libnuma-dev +ndctl +git +vim