From patchwork Sat Jun 25 03:07:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 12895215 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5365ACCA473 for ; Sat, 25 Jun 2022 03:08:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231796AbiFYDIP (ORCPT ); Fri, 24 Jun 2022 23:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232318AbiFYDHh (ORCPT ); Fri, 24 Jun 2022 23:07:37 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 681426801E for ; Fri, 24 Jun 2022 20:07:36 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-118-63.bstnma.fios.verizon.net [173.48.118.63]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 25P37WKT010327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Jun 2022 23:07:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1656126454; bh=ypqd/td0tS0WQt7msGj29BedADOKfGdf/46sCVC/B+w=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TrmD1sAgJr0w2nkOX6hEJ2wnb1+78yelbdcjITfOx6cgL+RxKO4jdai2tz9MRkXiR X31GzpvWfhp8Kk2kmog6xTa4v3muZ0oLgLrxhomnDvyI/a80YATRNktfIRCJSJYCIv 2JjzDecd9HVi8NJe+czpdPBXC96ohwaPVMY2SbdxKG8YBSClIyEiLxvZmR+PDgT9Ck YTigkEHbGXlTvN/zIYwyY9ofmtbK7+tpbGSgscXJgKkHK8/VlPuT4LbAqsj9yuYWIt 7rFJ+A4LVHDtoghZ1FXPafQCnDOh5D30QXmnBIwHUjxf+zHdG+JSudv2wNyTsMw6to w9RlyYLZSeA/Q== Received: by cwcc.thunk.org (Postfix, from userid 15806) id C5AF315C430F; Fri, 24 Jun 2022 23:07:32 -0400 (EDT) From: "Theodore Ts'o" To: fstests@vger.kernel.org Cc: "Theodore Ts'o" Subject: [PATCH 1/5] ext4/050: support indirect as well as extent mapped journals Date: Fri, 24 Jun 2022 23:07:14 -0400 Message-Id: <20220625030718.1215980-2-tytso@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220625030718.1215980-1-tytso@mit.edu> References: <20220625030718.1215980-1-tytso@mit.edu> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org Simplify the test and fix ext4/050 failures when running ext4 without extents enabled (e.g., in ext3 emulation mode). Instead of relying on parsing debugfs output's (which varies depending on whether the journal inode is extent mapped or indirect block mapped), use debugfs's "cat" command to get the contents of the journal. Signed-off-by: Theodore Ts'o Reviewed-by: Zorro Lang --- tests/ext4/050 | 58 +++++--------------------------------------------- 1 file changed, 5 insertions(+), 53 deletions(-) diff --git a/tests/ext4/050 b/tests/ext4/050 index 79961957..6f93b86d 100755 --- a/tests/ext4/050 +++ b/tests/ext4/050 @@ -22,55 +22,6 @@ _require_command "$DEBUGFS_PROG" debugfs checkpoint_journal=$here/src/checkpoint_journal _require_test_program "checkpoint_journal" -# convert output from stat to list of block numbers -get_journal_extents() { - inode_info=$($DEBUGFS_PROG $SCRATCH_DEV -R "stat <8>" 2>> $seqres.full) - echo -e "\nJournal info:" >> $seqres.full - echo "$inode_info" >> $seqres.full - - extents_line=$(echo "$inode_info" | awk '/EXTENTS:/{ print NR; exit }') - get_extents=$(echo "$inode_info" | sed -n "$(($extents_line + 1))"p) - - # get just the physical block numbers - get_extents=$(echo "$get_extents" | perl -pe 's|\(.*?\):||g' | sed -e 's/, /\n/g' | perl -pe 's|(\d+)-(\d+)|\1 \2|g') - - echo "$get_extents" -} - -# checks all extents are zero'd out except for the superblock -# arg 1: extents (output of get_journal_extents()) -check_extents() { - echo -e "\nChecking extents:" >> $seqres.full - echo "$1" >> $seqres.full - - super_block="true" - echo "$1" | while IFS= read line; do - start_block=$(echo $line | cut -f1 -d' ') - end_block=$(echo $line | cut -f2 -d' ' -s) - - # if first block of journal, shouldn't be wiped - if [ "$super_block" == "true" ]; then - super_block="false" - - #if super block only block in this extent, skip extent - if [ -z "$end_block" ]; then - continue; - fi - start_block=$(($start_block + 1)) - fi - - if [ ! -z "$end_block" ]; then - blocks=$(($end_block - $start_block + 1)) - else - blocks=1 - fi - - check=$(od $SCRATCH_DEV --skip-bytes=$(($start_block * $blocksize)) --read-bytes=$(($blocks * $blocksize)) -An -v | sed -e 's/[0 \t\n\r]//g') - - [ ! -z "$check" ] && echo "error" && break - done -} - testdir="${SCRATCH_MNT}/testdir" _scratch_mkfs_sized $((64 * 1024 * 1024)) >> $seqres.full 2>&1 @@ -93,11 +44,12 @@ sync --file-system $testdir/1 # call ioctl to checkpoint and zero-fill journal blocks $checkpoint_journal $SCRATCH_MNT --erase=zeroout || _fail "ioctl returned error" -extents=$(get_journal_extents) - # check journal blocks zeroed out -ret=$(check_extents "$extents") -[ "$ret" = "error" ] && _fail "Journal was not zero-filled" +$DEBUGFS_PROG $SCRATCH_DEV -R "cat <8>" 2> /dev/null | od >> $seqres.full +check=$($DEBUGFS_PROG $SCRATCH_DEV -R "cat <8>" 2> /dev/null | \ + od --skip-bytes="$blocksize" -An -v | sed -e '/^[0 \t]*$/d') + +[ ! -z "$check" ] && _fail "Journal was not zeroed" _scratch_unmount >> $seqres.full 2>&1 From patchwork Sat Jun 25 03:07:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 12895213 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14431C43334 for ; Sat, 25 Jun 2022 03:08:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231518AbiFYDIP (ORCPT ); Fri, 24 Jun 2022 23:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232320AbiFYDHh (ORCPT ); Fri, 24 Jun 2022 23:07:37 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68BF968026 for ; Fri, 24 Jun 2022 20:07:36 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-118-63.bstnma.fios.verizon.net [173.48.118.63]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 25P37WX3010328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Jun 2022 23:07:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1656126454; bh=J2LbxdWE9wmpZrLseWDZ8HH0zWC9tOq+H+KPBPPwMIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=XaZ/0thPcvy6a/xdd57ZiwGuxkBd5jm8+OS/ffLrEYbo9iZ2CEsTVmX/zDEdrhedg zySyG6iAYMS9IVcD6EtTnnxZ8AsStr1DcIVEjGNuihYIu+O5qwVrrwnpTofhZcMH+K ToFNOMX37FRq2ucl1WschK2JdxOjNwvAMOcVDkTK9mc5DZC7Y4PoOg8KO9eHysbBi7 6rldvFJo63Puik6n/vhm4a50i/b9UatRdlbVRK/HhJ335bRfMXRtUWscANK5Aaui7d QvQM6F5s3Cq4I/v5URFej+EAVIPXDzJWA1m44Ma25+WglQdkod6Xygvcwoo/ZI8VYh gorle7SeMZLbg== Received: by cwcc.thunk.org (Postfix, from userid 15806) id C765B15C4311; Fri, 24 Jun 2022 23:07:32 -0400 (EDT) From: "Theodore Ts'o" To: fstests@vger.kernel.org Cc: "Theodore Ts'o" Subject: [PATCH 2/5] ext4/044: skip test if the file system does not have a journal Date: Fri, 24 Jun 2022 23:07:15 -0400 Message-Id: <20220625030718.1215980-3-tytso@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220625030718.1215980-1-tytso@mit.edu> References: <20220625030718.1215980-1-tytso@mit.edu> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org This test mounts the file system using "mount -t ext3"; if the file system config creates the file system without the jbd2 journal, the "mount -t ext3" will fail. So skip this test in that case. Signed-off-by: Theodore Ts'o --- tests/ext4/044 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ext4/044 b/tests/ext4/044 index 46e44053..fd27ae2d 100755 --- a/tests/ext4/044 +++ b/tests/ext4/044 @@ -16,11 +16,17 @@ _begin_fstest auto quick _supported_fs ext4 _require_scratch _require_test_program "t_get_file_time" +_require_dumpe2fs echo "Silence is golden" echo "Test timestamps with 256 inode size one device $SCRATCH_DEV" >$seqres.full _scratch_mkfs -t ext3 -I 256 >> $seqres.full 2>&1 + +$DUMPE2FS_PROG -h $SCRATCH_DEV 2>> $seqres.full | grep '^Filesystem features' | grep -q has_journal +if [ $? -ne 0 ]; then + _notrun "ext4 file system formatted without a journal" +fi _scratch_mount # Create file From patchwork Sat Jun 25 03:07:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 12895217 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 505BDCCA485 for ; Sat, 25 Jun 2022 03:08:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232355AbiFYDIQ (ORCPT ); Fri, 24 Jun 2022 23:08:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232345AbiFYDHi (ORCPT ); Fri, 24 Jun 2022 23:07:38 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7B296803A for ; Fri, 24 Jun 2022 20:07:36 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-118-63.bstnma.fios.verizon.net [173.48.118.63]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 25P37XJS010347 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Jun 2022 23:07:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1656126454; bh=40xglbfH65cVdYg2Tzb+ttMm2oeA1aBJ3SR9rqRk4tQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Hiw1iA+LAFUMp2aA/ykOnHB738qQbDnYwSLd3bfCJelsyLRZpsuDfcnq38+70XRVX nRfPXF1bsmfQ8yo0Mr6NpovTVYjLbkUuhIZZmJzoyrR10rUiMAwwTd19CwX2FFviPu T2CMXH36b67zMXXRv+Sg5V4nKqwPF/PUJK7Affg3ph+/1qZwhWhe3j8ot0TK1Vhkg8 2639E8BRl5XjNnjYAA6YGycruospRcy945cEhKd5eRegKdD04wmKKv/h5zpiSwCrx3 CsSEZQN3UN9rnQ7YqgZcAsKZbbU5nr+bhaI/Xd/4+aXSXyAS+OXzYQIteBDb9Zbk/X eB/XdC4TO/ugw== Received: by cwcc.thunk.org (Postfix, from userid 15806) id C975C15C4312; Fri, 24 Jun 2022 23:07:32 -0400 (EDT) From: "Theodore Ts'o" To: fstests@vger.kernel.org Cc: "Theodore Ts'o" Subject: [PATCH 3/5] ext4/045: clean up unnecessary arguments to _require_e2fsprogs Date: Fri, 24 Jun 2022 23:07:16 -0400 Message-Id: <20220625030718.1215980-4-tytso@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220625030718.1215980-1-tytso@mit.edu> References: <20220625030718.1215980-1-tytso@mit.edu> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org Signed-off-by: Theodore Ts'o --- tests/ext4/045 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ext4/045 b/tests/ext4/045 index ee7c0de3..4f0ad4aa 100755 --- a/tests/ext4/045 +++ b/tests/ext4/045 @@ -22,7 +22,7 @@ _supported_fs ext4 _require_scratch _require_test_program "t_create_short_dirs" _require_test_program "t_create_long_dirs" -_require_dumpe2fs "$DUMPE2FS_PROG" dumpe2fs +_require_dumpe2fs echo "Silence is golden" From patchwork Sat Jun 25 03:07:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 12895214 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77CBECCA481 for ; Sat, 25 Jun 2022 03:08:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232221AbiFYDIP (ORCPT ); Fri, 24 Jun 2022 23:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232342AbiFYDHi (ORCPT ); Fri, 24 Jun 2022 23:07:38 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68D1968029 for ; Fri, 24 Jun 2022 20:07:36 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-118-63.bstnma.fios.verizon.net [173.48.118.63]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 25P37WlM010329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Jun 2022 23:07:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1656126454; bh=v0uefXiivY+UFCTaPIW6yNc1vffL2jo+FqJKaJjS/QI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=VaaVbWX6013aFaE1iSynMmfweJM9Mk30wMMF4oGDJhws9bAFklXVo3XU8w4tBHEE3 t2kN3yQ+sXIXmLc41HsB5uAewfc9md4gX56DV+6J3Fpt1SjzTehHRxW1IXA30IAAd1 /+ehJ4e8TmOGSt3wzKNPiAnxzmAzDq4R+13F5p6vu6wkK9riig/lWklW5YYNHZt5hU xHLFYqB0AR5WqNQW5pAmc2kufMLR+VVd/JnJwc6klIvwqYSgyqWkZgdbZy2zdASibe dxqfehLhYdCJo0IIJ5/Y4TNfpgGtBsrn/i/jFycegOtcWrAZnyZWVUS0AZDC3CEP6n OS56gGCrTvowA== Received: by cwcc.thunk.org (Postfix, from userid 15806) id CB32015C4314; Fri, 24 Jun 2022 23:07:32 -0400 (EDT) From: "Theodore Ts'o" To: fstests@vger.kernel.org Cc: "Theodore Ts'o" Subject: [PATCH 4/5] ext4/054: skip test if the dax mount option is enabled Date: Fri, 24 Jun 2022 23:07:17 -0400 Message-Id: <20220625030718.1215980-5-tytso@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220625030718.1215980-1-tytso@mit.edu> References: <20220625030718.1215980-1-tytso@mit.edu> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org The ext4/054 test explicitly creates a file system with a 1k blocksize. This can't possibly work on if the dax mount option is enabled, so change ext4/054 to use _scratch_mkfs_blocksized, and and a check to _scratch_mkfs_blocksized to _notrun the test if the block size is less than the page size. Also remove an unnecessary _require_test declaration since this test does not use the test device. Signed-off-by: Theodore Ts'o Reviewed-by: Zorro Lang --- common/rc | 3 +++ tests/ext4/054 | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/common/rc b/common/rc index 9378ff26..3014f5fc 100644 --- a/common/rc +++ b/common/rc @@ -1220,6 +1220,9 @@ _scratch_mkfs_blocksized() if ! [[ $blocksize =~ $re ]] ; then _notrun "error: _scratch_mkfs_sized: block size \"$blocksize\" not an integer." fi + if [ $blocksize -lt $(get_page_size) ]; then + _exclude_scratch_mount_option dax + fi case $FSTYP in btrfs) diff --git a/tests/ext4/054 b/tests/ext4/054 index 9a11719f..e23acbb1 100755 --- a/tests/ext4/054 +++ b/tests/ext4/054 @@ -19,7 +19,6 @@ _begin_fstest auto quick dangerous_fuzzers # real QA test starts here _supported_fs ext4 -_require_test _require_scratch_nocheck _require_xfs_io_command "falloc" _require_xfs_io_command "pwrite" @@ -28,8 +27,8 @@ _require_xfs_io_command "fpunch" _require_command "$DEBUGFS_PROG" debugfs # In order to accurately construct the damaged extent in the following -# test steps, the blocksize is set to 1024 here -_scratch_mkfs "-b 1024" > $seqres.full 2>&1 +# test steps, the block size is set to 1024 here +_scratch_mkfs_blocksized 1024 >> $seqres.full 2>&1 _scratch_mount TEST_FILE="${SCRATCH_MNT}/testfile" From patchwork Sat Jun 25 03:07:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 12895218 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B49EFC43334 for ; Sat, 25 Jun 2022 03:08:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232345AbiFYDIR (ORCPT ); Fri, 24 Jun 2022 23:08:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232474AbiFYDIF (ORCPT ); Fri, 24 Jun 2022 23:08:05 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6373060FC for ; Fri, 24 Jun 2022 20:08:04 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-118-63.bstnma.fios.verizon.net [173.48.118.63]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 25P37YCG010381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Jun 2022 23:07:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1656126455; bh=NDZVyZ5gvfyrcqKY2Brg3MnGgp5+uwqYZsM4M2WU+xg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LU3HM3XMisf31qEER6fgbpfYIlsM4QEhhV6qLCyv8BwKIG/QE7oR99NKLVEb54OxY YfLEEP0mEuDqjQz2TbA5g1Ayim0q/fc03fCHa7UgvIB7hbmfHKUyJzdKB3jtrzUTpv q6Ljz5NHa1FkZq2xlLFFbGXGBjYW6qC0AaUbEpctD2vxKMzSO5y6BzLFZ7fVR0uqP2 Cc/2NHhvq4ib/usZNaey79Anm1zg/OfEgvJ+kgeujfucor25SxayjjZ5NQo9vKYQIZ /oaXXEtNA8aXbgUIZ1ZqunnZAeD9e7IOrZaMnml69No1TBUdx6157dcf0YL11XsF8N IFjRCVpQ/FrKw== Received: by cwcc.thunk.org (Postfix, from userid 15806) id CD19415C4316; Fri, 24 Jun 2022 23:07:32 -0400 (EDT) From: "Theodore Ts'o" To: fstests@vger.kernel.org Cc: "Theodore Ts'o" Subject: [PATCH 5/5] ext4/055: skip test if dax mount option is used Date: Fri, 24 Jun 2022 23:07:18 -0400 Message-Id: <20220625030718.1215980-6-tytso@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20220625030718.1215980-1-tytso@mit.edu> References: <20220625030718.1215980-1-tytso@mit.edu> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org This test creates a 1k block file system with the quota feature enabled. As such, it is incompatible with DAX. Signed-off-by: Theodore Ts'o --- tests/ext4/055 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ext4/055 b/tests/ext4/055 index 8f466f1b..aa15cfe9 100755 --- a/tests/ext4/055 +++ b/tests/ext4/055 @@ -26,6 +26,7 @@ _require_command "$DEBUGFS_PROG" debugfs echo "Silence is golden" # The 1K blocksize is designed for debugfs. +_exclude_scratch_mount_option dax _scratch_mkfs "-F -O quota -b 1024" > $seqres.full 2>&1 # Start from 0, fill block 1 with 6,replace the original 2.