From patchwork Fri Feb 17 23:46:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 13145354 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 01624C05027 for ; Fri, 17 Feb 2023 23:48:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229798AbjBQXso (ORCPT ); Fri, 17 Feb 2023 18:48:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjBQXsm (ORCPT ); Fri, 17 Feb 2023 18:48:42 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADEED25961; Fri, 17 Feb 2023 15:48:41 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31HNY8Pj031224; Fri, 17 Feb 2023 23:48:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=9YBWnqyn7/KXTjgfL5y6baRQ0sUm2A+O0f5id1PwZl4=; b=w5mFdYyJO2dNyk8I5n2vVAo5QJaJIJ3lCu5kmry9z9+H1NAa9sSq252CPkMeKxXga5KZ wrS6nRoFbZbxydCJEw3Dy6QKGq/8OmoCnrZmopkenzT8ZLHmjHkheiEtGWwCBpSuvNnO qBE9G9nhSt4MKrEWmNVyMC5s83h0l+NVB4VxYta551K0R2QPgFu4NifwjFCztIEYx/10 50fCUzSmaSE8T30p3N9A7ksV/Hj2+HIxP4V70sZTuWHhM9PLggH/7c9IWkem2qTdtbYT cFjqqD3ksSpy6g8A/mQLvqNdmvu45M5otVqbWdx8oixqX/ux7dh3zp3rYhT5TH7lxn/5 ew== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np2mtq697-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 23:48:34 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 31HLUxKl022796; Fri, 17 Feb 2023 23:48:27 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2176.outbound.protection.outlook.com [104.47.56.176]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3np1faq7wn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 23:48:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XHOBKr2Xn7KVqR+NHZOBJYz/neSJLmnE8WxOJ6PiQLzzXgXJGo0BNQnoEsruAUMKbkaJVcUROhcsmAQkVYjDBppEOupQZVdt6t8wKxxXmYcQCT8DwO49nUQJJUzExTn2kY3HKCIX0/vwPF/iUx1hvjtmbuj3JN6moIHhA0+2HLOvvFT4BUB62O3EMgodhQc01hzwdbxLAWpAKKc2O4Q17V1WusbzM889w9GOW30I6fxqskN71RB8VhUk0X3tEC4wP/bj3NodDsmHAFABhk5swyVjM0vQxUComuu8RM2ccdjnYyxKpiSOdV1L0t0EehE3rDXaJGwuvFZcIV8TD5tgGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9YBWnqyn7/KXTjgfL5y6baRQ0sUm2A+O0f5id1PwZl4=; b=eSd7UmfrgSGsDUp2nVGBkWN3RUS1oiKn4z3HilmRMS9mWGava2tZATyo65Ss1iBg+D2UHsUmWZKiE2b+E3OXrRYztyp3wpUsn9m/AgLAHKY0762t9zCutaxja1nWETjgjnGIBzHKrpXPfFhGfypnsELT/aNKFiWEqVIqpJs3bE3qtZLIN4IzIprqy7IzKRKsoqenfnt/TT4dgGgHIT6uPvfwFAQ1+V+EQsM7E+sqvE7vXGMCF7AYG4nEFbTqBvoZe5TSjyjJnePnwpxy2kuga66GPGavgCFpCu1/CTJh56gC56SnZ9qTgHAYHhfe+KiFyr6oOmNkBX7U0L0P+f2+2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9YBWnqyn7/KXTjgfL5y6baRQ0sUm2A+O0f5id1PwZl4=; b=hntv59BBaxQIHJ9L3zmPYlVAN4Kxsw7pxr8JIqBSSw+eoYoBPET2zgDC1Nm9DTSjoA8Ur3EgODTkx5ToS8y6/3ByKxEGK852coL673OzqJusljwXjUmra1NhlP/rZ8gCJRLRnXYn/U2i/ShI19KRbqwAgQdofJKXImJ3Fj3VCEU= Received: from PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) by BLAPR10MB5249.namprd10.prod.outlook.com (2603:10b6:208:327::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.6; Fri, 17 Feb 2023 23:48:25 +0000 Received: from PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::3eb1:c999:6a64:205c]) by PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::3eb1:c999:6a64:205c%4]) with mapi id 15.20.6134.006; Fri, 17 Feb 2023 23:48:24 +0000 From: Anand Jain To: fstests@vger.kernel.org Cc: fdmanana@kernel.org, linux-btrfs@vger.kernel.org Subject: [PATCH v3] Subject: [PATCH v3] fstests: btrfs/249: add _wants_kernel_commit and _fixed_by_git_commit Date: Sat, 18 Feb 2023 07:46:56 +0800 Message-Id: <94140118c6e86d2d9979ccc2c844d5c24d2964f2.1676677149.git.anand.jain@oracle.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: References: X-ClientProxiedBy: SG2P153CA0010.APCP153.PROD.OUTLOOK.COM (2603:1096::20) To PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR10MB5706:EE_|BLAPR10MB5249:EE_ X-MS-Office365-Filtering-Correlation-Id: 82dd615a-36fa-4c0a-0618-08db11417572 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xrVXJPKInD8uTLC0nPP8f2QtMuC13uASlTuKGwAM2w62hTy6gIcPQnjje/mE6gvyu4ohUXozICr0HXa2BquSuspf/eLUMUTUcA8y3rMbKkvY3jN6MO1iWHGraxhh0U6u2EwUGJDVxtG00pXJWnkvQ6+q9bI5ThwhjbB+pz3pUoPZFedF1KZKo4b5EvPFrWrLv8eSlFI6ceqxsE84wqECdRozm9SQVKNVBRtadSoNvNh9l+i8VPhpODbwwlCxWaWxONy581BF4KhuFaOcjDXCN/RdUtik6nD5dkwGWUhP7VzYxiVOabxRXCMWe6lKCBcxtIymPmv+Py9zieqyWsG52nQQrR6Z0TFb3btaThAuMUUIcpbpWprX5l42mdwX+zTqdP869IIyz2kUKd+rYAZ2VuNdnmrUOPhu0gEos0oDJKYpW0G2Dzuq55ZxiVpzZ4p92BCNsD4i2uez8lnRpj/NuDZymbl5r3nigOPN1PHw2RAej0VAB6oBPLJasSK2NHybdPx8Y7Pl+RZ8yJs1eA882VS3Xt+aQd5TviEWz4TKNQC7vN6jiPK7QOUqvKhGoWTU37tT5M/Zni5feuvlKiLnlxWDkLMTiaRxW2tW6G3mbf7fyAeTZQIj+kQWHND0IC+Ty4NNsUOH698D6EHI63v9qg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR10MB5706.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(39860400002)(346002)(396003)(366004)(376002)(451199018)(41300700001)(4326008)(6512007)(2906002)(38100700002)(6666004)(36756003)(86362001)(478600001)(8936002)(6506007)(6486002)(83380400001)(186003)(2616005)(44832011)(8676002)(5660300002)(6916009)(66946007)(316002)(66556008)(66476007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hiLPLJ6bS/3lvUjeqvgGsqc8WIuJbJK+Aq9vyW0Xnso5+48V7nDIBnzuS3+jMNKAvaNZU0I7bn2wNGKTx2XrCuelZ0JPFIPZc6EoDQjC3hudhqmdMmMVpAalMe0tcbyYmmc0RiQ9f4qYE7sZ/jM+Zn5Btk9uIM9SPEE0UC3FJIXYq7L36eOz+3bo1RQJ85XJRUmw0g9VmS844uvpxGsikkvc4CYjT9zY9Uk5hNozHUvuAgSaJGDMkdwpDv1zy4uNp8HDBwcoa9fgG/Qw1EOQFmPyHYGO9K9+NR13opYOr4G12pp9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2xMguac84NilWstnsW93+r1nZmS6zl2QlutngdDQG3tvDVns22GEqTqBiDM1lOaTOlE= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 82dd615a-36fa-4c0a-0618-08db11417572 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB5706.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 23:48:24.5416 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WKSGG7kTTurqcrZ5UKkq5dNHdTQEZ8fhHpg5+2yDg1A691HvFgApA/dh50MHuv+LbemSU5+ixbClqi6q1bUFNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB5249 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-17_15,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 mlxscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170206 X-Proofpoint-GUID: 8AaL1YIvb0nHJaLeHMlnMO1gNeoAQ9zh X-Proofpoint-ORIG-GUID: 8AaL1YIvb0nHJaLeHMlnMO1gNeoAQ9zh Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Add the _wants_kernel_commit tag for kernel and _fixed_by_git_commit tag for the btrfs-progs for the benefit of testing on the older kernels and the older btrfs-progs. Signed-off-by: Anand Jain Reviewed-by: Filipe Manana --- v3: Fix title and change log Old title: fstests: btrfs/249: add _wants_kernel_commit v2: Include the necessary btrfs-progs patch. tests/btrfs/249 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/btrfs/249 b/tests/btrfs/249 index 7cc4996e387b..06cc444b5d7a 100755 --- a/tests/btrfs/249 +++ b/tests/btrfs/249 @@ -12,9 +12,6 @@ # Create a sprout filesystem (an rw device on top of a seed device) # Dump 'btrfs filesystem usage', check it didn't fail # -# Tests btrfs-progs bug fixed by the kernel patch and a btrfs-prog patch -# btrfs: sysfs add devinfo/fsid to retrieve fsid from the device -# btrfs-progs: read fsid from the sysfs in device_is_seed . ./common/preamble _begin_fstest auto quick seed volume @@ -29,6 +26,10 @@ _supported_fs btrfs _require_scratch_dev_pool 3 _require_command "$WIPEFS_PROG" wipefs _require_btrfs_forget_or_module_loadable +_wants_kernel_commit a26d60dedf9a \ + "btrfs: sysfs: add devinfo/fsid to retrieve actual fsid from the device" +_fixed_by_git_commit btrfs-progs xxxxxxxxxxxx \ + "btrfs-progs: read fsid from the sysfs in device_is_seed" _scratch_dev_pool_get 2 # use the scratch devices as seed devices