From patchwork Wed Feb 12 23:35:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Filipe Manana X-Patchwork-Id: 13972601 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C5F325D548; Wed, 12 Feb 2025 23:35:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739403326; cv=none; b=R/omQTuL9PT3dYEW856op3S8DgNnl2FAdWock9/Qz1kAcxjkeCLUHgaNbd37Anplgd6jY3HOt/wrX06Cb7NO7Wtourv/rN39Dj6EF5/ojzNtPrmT450p1kue87ry3cV9vkVc66f7nwBZXGFGO8P5iwtAJU10XuEEdyby/X8JgaM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739403326; c=relaxed/simple; bh=g2U64/jen+A/FU39yqHRTgfvxFrRvv9Tg0mJK9PBfV8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DJrIEL9qbjEkGhwXc8kxRlIpQc5+Td+TxLERv/1qqpVSBYwZ0KheQIAezhHxwbbCVOnbng2YR1bFpMKpcHs7UkhXTiHoMfmhalXD+f5aQh8IZl20fiy1slFdVmbHEpvWcq/t3veM/Yayt0eJ6JbzBCHL58/X4psmbcjOqr0aybk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Wo1Qsf5M; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Wo1Qsf5M" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E613FC4CEE5; Wed, 12 Feb 2025 23:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739403326; bh=g2U64/jen+A/FU39yqHRTgfvxFrRvv9Tg0mJK9PBfV8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wo1Qsf5MkTqAT689eA2yGZ+BP7tD647XWNF3g9VpZwIGexMp2p9RPcIkHZMcNzgh0 9GQLOEZ5M3npeqb6SLn/08GQZw+befQX3tXRY9u6XP2lGQVz4UZLbQcNlnsrLzG3tS kqYR3xkdWctsvkBCBgj1aY5dyVCxsc1PZAm98qYAGtnUxBnnKWzyXA8zZfd2pMdcem t7ZrolEIBhZ61yKVRSB7ZpySTXEKRqfYoWvhHhuEH/FrZf8ybAdebjzPf7xeB9GxJq kStmZhiscVGu8wUsrnPpxr/6Tuf8gY8PRTZEdglwX6b0tctp47+RN3Ad8pqbpG9bK0 MCYHDcNkfydSA== From: fdmanana@kernel.org To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org, Filipe Manana , David Sterba Subject: [PATCH v2 8/8] btrfs: skip tests that exercise compression property when using nodatasum Date: Wed, 12 Feb 2025 23:35:06 +0000 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-btrfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Filipe Manana A couple tests exercise the compression property and that fails when an inode has the nodatasum flag set. So skip the tests when running under the nodatasum mount option. Reviewed-by: David Sterba Signed-off-by: Filipe Manana Reviewed-by: Johannes Thumshirn --- tests/btrfs/048 | 3 +++ tests/btrfs/059 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/btrfs/048 b/tests/btrfs/048 index a38c3951..3676debe 100755 --- a/tests/btrfs/048 +++ b/tests/btrfs/048 @@ -28,6 +28,9 @@ _require_scratch _require_btrfs_command "property" _require_btrfs_command inspect-internal dump-super _require_btrfs_no_nodatacow +# We exercise setting compression through properties, and that fails on inodes +# with nodatasum, so skip when mounting with nodatasum. +_require_btrfs_no_nodatasum send_files_dir=$TEST_DIR/btrfs-test-$seq diff --git a/tests/btrfs/059 b/tests/btrfs/059 index 227ebb14..3da6a5a9 100755 --- a/tests/btrfs/059 +++ b/tests/btrfs/059 @@ -26,6 +26,9 @@ _require_test _require_scratch _require_btrfs_command "property" _require_btrfs_no_nodatacow +# We exercise setting compression through properties, and that fails on inodes +# with nodatasum, so skip when mounting with nodatasum. +_require_btrfs_no_nodatasum _scratch_mkfs >> $seqres.full 2>&1 _scratch_mount