From patchwork Mon Nov 20 19:35:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 13461954 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 8E19F341BA for ; Mon, 20 Nov 2023 19:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FILf+W9i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F09A1C433C8; Mon, 20 Nov 2023 19:35:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700508915; bh=PuKyNt2mW9SnCcQNDJmo2iPmqHw7enIHKt7zC4/1cZY=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=FILf+W9ihDhwTRPc5WAJT3E8Scl7Q+Rh5mzRCjiUnSctS4wZvjHKA8I80o/FS8Hr1 tRD6hui52uy8k96mIopoyGitUDaXKyuMAS0JZmqg1cZCNpDXyE77BwjKLSz7smOQ6x 2KYabiiBbci/tivG5EzfYwS2rYHuWqjVMJFhTkXWJJAmAJHLbH67eNUV32c3XqFWhy xFYWp4xWghV2gFQtn0YWC6z3CZ+sXGOtdvktDCvcByeDM6wBiPw3o4caoWH2zMzKCA vILJQZZ+FnRRblvVlmLYoHFSQiZ4IZOa/RohK4wsL6PFHkhr49384HcPP8XXyK2DD+ iFUyxC2lJhuQA== Subject: [PATCH 1/2] xfs/601: move this to tests/generic From: "Darrick J. Wong" To: djwong@kernel.org, zlang@redhat.com Cc: linux-xfs@vger.kernel.org, guan@eryu.me, fstests@vger.kernel.org Date: Mon, 20 Nov 2023 11:35:14 -0800 Message-ID: <170050891446.536459.11166010762932928186.stgit@frogsfrogsfrogs> In-Reply-To: <170050890870.536459.4420904342934916414.stgit@frogsfrogsfrogs> References: <170050890870.536459.4420904342934916414.stgit@frogsfrogsfrogs> User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Darrick J. Wong As per last week's discussion, xfs/601 doesn't have any xfs-specific functionality in it. Turn it into a generic test. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- tests/generic/734 | 3 ++- tests/generic/734.out | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename tests/{xfs/601 => generic/734} (98%) rename tests/{xfs/601.out => generic/734.out} (78%) diff --git a/tests/xfs/601 b/tests/generic/734 similarity index 98% rename from tests/xfs/601 rename to tests/generic/734 index 9df46e5ebe..93c2ad90e3 100755 --- a/tests/xfs/601 +++ b/tests/generic/734 @@ -2,7 +2,7 @@ # SPDX-License-Identifier: GPL-2.0 # Copyright (c) 2023 Oracle. All Rights Reserved. # -# FS QA Test No. 601 +# FS QA Test No. 734 # # This is a regression test for the kernel commit noted below. The stale # memory exposure can be exploited by creating a file with shared blocks, @@ -29,6 +29,7 @@ _fixed_by_git_commit kernel 35d30c9cf127 \ "iomap: don't skip reading in !uptodate folios when unsharing a range" # real QA test starts here +_supported_fs generic _require_test_reflink _require_cp_reflink _require_xfs_io_command "funshare" diff --git a/tests/xfs/601.out b/tests/generic/734.out similarity index 78% rename from tests/xfs/601.out rename to tests/generic/734.out index 34d519ca46..174c3f82cb 100644 --- a/tests/xfs/601.out +++ b/tests/generic/734.out @@ -1,4 +1,4 @@ -QA output created by 601 +QA output created by 734 Create the original file and a clone Funshare at least one pagecache page Check contents