From patchwork Thu Mar 7 12:50:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 13585536 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 6C5CE12BE93; Thu, 7 Mar 2024 12:50:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709815856; cv=fail; b=b4OrPY8h6JlMbAmIWrKaT9zevBkqhSCf1Ol7GknFozWyWJAOkdZcjS1wEvY7oYtW+QgoUo4zBGzqcuqv3yIUq/c7P2U35dygQHZTBryoLhyF/t76A608LBS8ZDa6S+52YvWePRizI4xVN7fzpQ5zzA3z1RzXRgz7bUBgMrHyU34= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709815856; c=relaxed/simple; bh=MtSZynjNPbpDwVsYloX2KljUExcZX+jDx+0zif0eANo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=oGb9IWZNbRnHFLqsGymWwsrH+rkkgrB1Ej5kPVdllqCN20U8oiYk2uZkGeTP9hkFUVYlhH79SnLWtFzZiVMkFY+Lxxz2JOsQpTVBsDeAbD5+ieORir7kzyNSkPTOB05FeARDTYDJtLJfNFXW98IH3xesO6y4N0NIs6EMD4CyyAs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=SuKnC7aK; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=D9YK96tb; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="SuKnC7aK"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="D9YK96tb" Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4279n8Wa020697; Thu, 7 Mar 2024 12:50:53 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-2023-11-20; bh=+b8jiTOfPI2uahfT0kdmIEWAG4vsuy62ALopluA9WtM=; b=SuKnC7aKfYZpaHsnVsirOr8RU3Hfpm2fyc6FUc4deRlbNcHbcaciX3ojJvZaUpV1i/RG w/rASSDiMZpqMfQN+6xZM4cXKAdx0UlrrWQiQUsJQ5SiPLjFmKm+Gfl+ZDx94w43Aa61 F3lgwYpraLLseQMxVWUp+OBs21kXAIqHh7tN4AQg1B56PvDWASWTLbDpeGKVbCdH1Ji7 xElt62ekZP5necbQQPjiXJFA0S6UrqeLtLTxBEthlCJ7UKUXgxYBc+usGeLYr0XvITBD onfMeDIwwoWa1EeZhq5GqgHutn2lqyxkG2JB2hL3c3lRFJTH+DdDPIdz6dNVXqn97Juw UQ== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3wktw4bsue-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Mar 2024 12:50:53 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 427CaEWM005185; Thu, 7 Mar 2024 12:50:52 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3wp7ntr3mr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Mar 2024 12:50:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZcFNcN5ohwom7pE2lDoZQ0QlSWNnIS6/ffOyNsCXThdsqgM/YB52ohg0YABmVrn//b9s3pBt6EBKhNqnD1WXaCKsL1V6Wdr5GYnJa7BXZpSg1clxrzilN+oZP0Ufj/WQvg4jf4PICZ5rDTcGM9LJl87trdQwyr6jzeDY46x6dfbsoFkWiSxIlbQNSjW+fLAJwD8wUTUTBoXlmHlQ3pfi4Ttv9qeBrUXKO30GRO0mNkaZYpCfM9+jD5VwqJWVILyCSUufH8bc7z1Zj53RoZGudoeln9I4l7VkK8XOob93o9GCmpukoktjIc2iEEURbwr4FFmWygh5U2JthDosF0ZYIQ== 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=+b8jiTOfPI2uahfT0kdmIEWAG4vsuy62ALopluA9WtM=; b=dJStIJrWKNX0iI7e8B0XIw9PmnVgjFlb0G0JL3d01qYYKJ79I+9nJHCZQcg5w81AVh5l6A1pT3E86jNixZx7RKwERa0bx6ucuglHaEhHbg2WPPDqd7X62vte9DaDKs1QLTmpMy7BnxnMUdA5WCIVFpJVlwlrRWwNW8YKBx6MlWvMU3VUsfogwB3OKWJh+j+70gjJuGuciRh44u3DJieh2EEU0WiBBSlvbgmTW1d1jW2ghNtDVViHY69XEQe8rg+PTmGg+ej6iwu8kjK1Hk4RTVCId77e27JFhjxk6M19MScdVmTCI255e2RV+5ABFE+zT37xAt/eaB0BiP+V6mJ3Mg== 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=+b8jiTOfPI2uahfT0kdmIEWAG4vsuy62ALopluA9WtM=; b=D9YK96tb42qlJnFvhgqywp2MyucNp9lZc8QEp8hMT1yVkaEo5DDyn6vPd0lkAjc1w3H23Kwp2RNFMDmgyFh2toEgIFARaHX+GvM9NTR+uI7IF4G4Tb387tRrXvGjnPfKUiEZAc/HHseS/PYX3p1SeYP7hxn98dmoQ2Ie1L5ZzYg= Received: from PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) by BLAPR10MB5025.namprd10.prod.outlook.com (2603:10b6:208:30d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27; Thu, 7 Mar 2024 12:50:49 +0000 Received: from PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::814:3d5c:443b:17b]) by PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::814:3d5c:443b:17b%7]) with mapi id 15.20.7362.024; Thu, 7 Mar 2024 12:50:48 +0000 From: Anand Jain To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org Subject: [PATCH 1/3] .gitignore: add src/fcntl_lock_corner_tests Date: Thu, 7 Mar 2024 18:20:22 +0530 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-ClientProxiedBy: MA1PR01CA0164.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:71::34) To PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR10MB5706:EE_|BLAPR10MB5025:EE_ X-MS-Office365-Filtering-Correlation-Id: 3c9fed62-c949-4b28-33f6-08dc3ea536aa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2Kn369PQxnfOf5sMjVSxH863MLCsvcGimTiKJ6UZkeZ6UvihQTNG1idAvyrH1aNZpf8H8hL8QSVhVfRQjOsgSAEll/Ur9ziBN813B+QoeKumSHwAmo3W5HSFoLwWfgUhM2Nvgf8+mn/ADONyXJ/27Fi4mSU3606MuSA30emKtf+ydocy73CxluJSJqv7hu8LRzPeh9Cg5dKDFQN+t69QhlpIPhsybcWYffooHfdVgSLrCcuubouRAoXoq0GTnf0ch7R0t5fpPYhP3o+ovtC5fqp2E6v78jz2xW8dnbXM8wxi6rJpY0OLYgwoT0av4uNuCS9zoRXoxm7zw1FRBGQaWGlYZTlJRU2XEEsNjDv1iWLSltFt82ZuST70F0JJhgSlah+QptvnaYt6a0+v+xRK82X1tOdeuAYFmtdRDSyjJ4YhjLVhQ4mppjFWsOFTtcDlBD3qddE544MtPrE5+klGWtCDg/+E4NfjwYEMbFUAKsTQP40HvbZz6pUouz0DiO/+LhvvDGJxwAAgpQIYhv26YTD3+X9tlZs14eYTigjDL55zrj0MahLKyG74j9WatJ9ql9Qw70km8rSa9izYCzv6YdTqRPBBoc3+iUM4DINvqvaS2wunqytRJc3vgJGTNXer1Z7CPdaGafXktCUluRfbNyholnFgTj7cktEYCdx0FKA= 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:(13230031)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lkhhnIKRZYZIn6ia8DX8j43zOEJ1OFJsBHIR1SGofaT3wZMh9uzjNxZ9DVh7iPzriHQl14BGTDr5v5+vC5UYm7YDge2/8PzwGTijX+qI8IXzJH5rPpYC7ESc1mTqYhX9LVz0GScleJV+bNLuRts9sgm1p6febuTFpt560jStaa8lg1MhjcsBd4A8k+pEJlq4/zYpm4XcyfMuZ9sC8CSirmF2DniQzO8P+/z2OhkvSfJXTu2TCqo2IvpJpOTclwcTUArHkB1B7DsGA7PmWR+Arg4Nz7I/2RMfsYnWXJ9OL4E3x4bQNqKXJhyPjr/EX+YIIpTZ/UHtoC//emfqDq2k9yt1jRA5rXq3o/tTjWQBkmNU0hMcYRzGq7XnDWhyVMz8S8vJEFjEkuicb5ze02SffF2icdlKkc+3tCRjjolRPuidP0tuwt/7pdGYy9yaGU+YCbO+7L6h2HiVlvzlSqamTLdJA54dJ9OATvWwekbA3ZebA8cJShOjba+2/7OVjnOu4UmSN4WJwlg/oW3rGC+342GOqwvXnlqMTtQX97YYGcpYBzbePgXLbBK+hzMzrSEbBooC61UGIJJE9Xkspeii+8JUQ4zQEXWFVCJmUoTTXa1vlVJWFrUIQapK4jXb6paG3pwXEUKqS3lH8ZhUfY/uxlc3ozMw0QqUZdeWH0NAePz5sDr2G6GX5rM7t522T/YeEYTdlBu98LdhY//64a1ZBToZOoOgPvWy1YhtOjNZSyp4SSJoRrWmFvdQsw+osEmGoANIMDmwSp96FgGwIFEFsbx/bC9rVoGO5SiRZ09+P5jowCjRWPcGLyBFMX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zj+isAnLq/tvMcDKyAd7zGlS2KVViRXIXHF7F/F1KiVa7FTUoeTr+ycx0Jp85jr3zjhMkFw6uM1nLYxVk3pgtAxR8UU26ItaxUdoQL+geChNQY/EuKSBnihqSpQEjyor95sixJoRZti1rCVxM8yTlbFoc/JpOkuoMlazgtOJrJWAUdx/Riayp/5qtVtajnLdUzSPPcjv53ZoJZ5+CrXbsKMqYdVMm4ePBFtH8wBGLoNxsd0ve6VQr/hsbu5caVxv8FiY9kfW0oMx04roidCNKPMaP+qO4OWbrxdRn/fjICIJp4SptPg72FLMHQtlDcO5FfAGoTiMoqyhwUy9LBhFb8I4KoAfQB73lRpkrEMh+vVXHD6yyv8VyiJN5SPKnWNE5fUk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c9fed62-c949-4b28-33f6-08dc3ea536aa X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB5706.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 12:50:48.8889 (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: uVLkgaXaLPDPZZpDUG6Yv5qNaGOBPGiei24cs+DE40NyVcL4pb+zjVimRUaHMMla8oCRPPMUc4S21e5msZgroQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB5025 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-07_08,2024-03-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2403070087 X-Proofpoint-ORIG-GUID: LuBa70VMop4zWfEsVTic2zpccLpBZ2xO X-Proofpoint-GUID: LuBa70VMop4zWfEsVTic2zpccLpBZ2xO git status reports a stray src/fcntl_lock_corner_tests; bring it under the ignore. Signed-off-by: Anand Jain --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 3b160209ac03..574aa9e8c1d1 100644 --- a/.gitignore +++ b/.gitignore @@ -93,6 +93,7 @@ tags /src/fsync-err /src/fsync-tester /src/ftrunc +/src/fcntl_lock_corner_tests /src/genhashnames /src/getdevicesize /src/getpagesize From patchwork Thu Mar 7 12:50:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 13585537 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 707F812BF07; Thu, 7 Mar 2024 12:50:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709815860; cv=fail; b=bKwfHs84Yu4J7muajqJlMjVkt0kb8Xt9SZSYitLU1EVSzGZQ8+QPlvcYYaIo9Po4ozpO3kLFo2OQhqUUXp670Ps6QAHXKQL9u7DuVUbq06kU/xFGCmdpJynSZzinzhxeeNgj2WOgMouRYpE7bMG7+GcUoW7LuayNsNnmMB2Lsu0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709815860; c=relaxed/simple; bh=BCv3ognhhLV8sMCi+A8ILWqK32ctYCJ9Cv4Gr4AqTAM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=uO7lv+GK8+Fd0J+yf0Syl9pIgAeCVZdI7lPYodV5XygPhrRycCh2WD1CKp5xE7NIp2t51oLkFbCmNG0XzK2mLSJIiScn0Z4XzZIEcAXslKoFHSzjyrG+YyFw/xplCxEVqACeRw85S7iZuLJJXxaqGXI4i17Jz8Ik/KOsibAJBnE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=MCc0jz1I; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=vTnTUFZT; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="MCc0jz1I"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="vTnTUFZT" Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4279n927021883; Thu, 7 Mar 2024 12:50:57 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-2023-11-20; bh=5/Ts+UrrBFzlxsSki4lAZFmHdNLo9smEZHn2/aqhx2A=; b=MCc0jz1Im78VBzcjUvL/VPX6Q1Cbl5/xRKpRSnrch2xBOxZTrGizQqGb2w5AJn+0nbWB QXn9i3vhc/1YB9WkVLcT0A/hBG1LALxDanN5myz6kM7FKYtStCopWZwePBjeoNO1fowo X/8whprRRc0uFtM/YVbQmRtMEGyv6gnwCFT+MWLX6w7bs2i9ti3dt7i8q6XSL+XXJxv6 Lkc5gVkP9pUGXepHmbgsYFfx734fLXrUVlIZWOs1udu+7ev/ZgXyYenPOJw+7xFcRczE tBTI0uChnlpxrMor/TSXiK0MzuiKHSZe2/FCz3p6OtUduDHpVziscOwjaRs476BN5phu Nw== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3wktheku2y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Mar 2024 12:50:57 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 427AoG6e040930; Thu, 7 Mar 2024 12:50:56 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3wktjgy3yg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Mar 2024 12:50:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KiQ423mWP4JrXGEKrqrF7qhIHqjd5mcgdRXK4QzGG9QyS+aF1iL9SEesdKUbMcwFHucgFeQa46WPnrM42uTiFHV2hYLWOnAUAmf/bopl9uik4xMHh9ShTPEyzyOZtXE37ST7+tbgxbD9VcnBU4LtPGeJJFrygaPDqGwbhSnYh2YLm4zqU2uIuxnRWyaUbx/amnB7MTaRILRizjyU8NBGCudOK0I8C1mqO5RZbst90W9l1AwOFabXZvkoBXRomBu52pGwk4CpX9CWFCCwfs1Hl5JeZoltW0sJ+urkEnGuUCj9Nl2i0KjQvJehtJyeglkxs0pO/FlGHhoFDqfQU0mF9Q== 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=5/Ts+UrrBFzlxsSki4lAZFmHdNLo9smEZHn2/aqhx2A=; b=AWDM+N0GplFhaHhv7y4JsjZvLgYRGOpjiog1M6AmvxJAZxo+ZwsTf4IEUmrAA3jj2S8AXG3fL6CxjQdzlnlOVVKuP8WHbMmZe4gWqmO8xnGJENm+8CxBWN5ijt5cqrOEONy3SmQrHacNwhIvq8LSt2YB34kc4h/2q74YYOi91b3TavKTNe5VB16l9Im7U9nxYVihFnLQHsHIFYW/vPyv4zgglNz/Lqmydo8QkWTjbrFUZU+bhrdPI3Fuur4Jdw/CooDxx5hVROxlCxM/rv6jyphdR7cDWS/8dnNTVLb+JIu5hFL4yTLZBKdBXRhJkDd1QvrOAwgA46c3tNHQY53T1g== 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=5/Ts+UrrBFzlxsSki4lAZFmHdNLo9smEZHn2/aqhx2A=; b=vTnTUFZTD2WbX76i6j9Em5dwMWta5Z0b0cqvuHeh13WBQeBz0VBsoPIdjY6Bkvhmv5nZOOzATI6ae7eoJTqzJQPpo9HaFUI1YSBDSGn7/V+5x+gvCq0yaqAZI/cDxokc8+xAT0Xa6s7oK13sHzo42kVGwK1DtgJrMdZVzRED4vM= Received: from PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) by BLAPR10MB5025.namprd10.prod.outlook.com (2603:10b6:208:30d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27; Thu, 7 Mar 2024 12:50:54 +0000 Received: from PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::814:3d5c:443b:17b]) by PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::814:3d5c:443b:17b%7]) with mapi id 15.20.7362.024; Thu, 7 Mar 2024 12:50:54 +0000 From: Anand Jain To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org Subject: [PATCH 2/3] common/rc: specify required device size Date: Thu, 7 Mar 2024 18:20:23 +0530 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-ClientProxiedBy: MA1PR01CA0153.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:71::23) To PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR10MB5706:EE_|BLAPR10MB5025:EE_ X-MS-Office365-Filtering-Correlation-Id: b3de1347-a58c-4376-2d17-08dc3ea539f2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WIXhw6dsQyxWKCpEYcBBP8NVejQPbfThsxoJkP4k94I7GCGONrkIMkqH06PL/6bYXlEWHOlbDNPf0xb6CFQT1JpNOET/T5/H3EUgLwgOFsYdoAwoYgODyAfhgG+5tz/d3Bpzs2FyZ88xDhPgtmlKM38YDs6ckn1pPLC1HDMP3XP+KVLi9f2u/yIqbrcH3AW3fWzT44vSgR9YzRZIZa1dLdKVQesXrqZZLG6tG0CRpQsykvVdessrFu3lXGwFLSeDmrPTDqNdPaNBqWKyJmrvkjS8Scg1r12HgJi+JvrZvsrSF45IWGugJfof4hX6Ayvt6iCUhzIfxfyrbCXtQ7axTK3FYnL586SnZjId54XL3ILSoZzkOQRR6AnP4jXVyq/KNjisqPE+WmhVC82tOCUfr5urbuXKYi8ZxJATfviCSoVeHMJcYtEiKTIqY6h24J/FEVUTLGu/QB6IHa3DcrC1DEcGAULgZPul+VaZTCPsCwnmrV70e08e7j/j4UbGFDMX4yajjqsx6Hdp3+jsFDmu3mapwEmduPnPbK53JNwffuY1N5YEv8EKnLDBz/M+Y4xe16HmT+bLJVunCHel6pT3Xii/+1vI/jfJMglZp6ltpSOMDV0pl0rpdhG6QPK8SeZLK67tJN6+ToPfD8595Z5l7H/eQDV+J3AXvynGLfzH/Yo= 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:(13230031)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PX6J31lwQxjoRj+fUmRUSv48WoJ/LAkxcRPc5SB+5bL6olkvWYO899rFVe5TJNTmWzzp5qzH7JkkE3jf2XvXMDI1CknA1qmc4+AqlVv9mrzezocpKcdOTtUdRY0C+3EsDAYoV9X/61R5+1R80B1qtGgEHxFOVwrvR2WFhY3BWnl0UlFHhlxKq4rlv83vbW8wXTYCR1yFzWOyDeRoPlL+yNfVEwYDR+alMVJfDRbXClLVO8I1h+/BUxs7eJg8IvkXaALyirjPUS3/IYN9/cq0+pcHh2XTWk4W0w/uqxZTI76Y+vDxRx4BSGuTQtW7MBBIsO3rgT0Ev7hcOcgpd+VPGCXHaxYwsr+j4T9WhrazjqEC7OqW5qV6Up7W3USqGWuxVCZL2hlnwuZgQTjD40J6REOFCVnxZgT4MYVsfeic2y368W3M+TG6TwfA3y/nkG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w4kPzzAo9mluJVjOVfF5MZuLV9RJK4gVx+9zjtSDXY5WRd/mBn2yz/Vwo4OtsCTaBK6 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Uf+quZHs3XDUZ1d6ItuCckq2ylSRpJNYIFnR3RlHpz3Cc2c30xpc1v3gdBga6upyemeXdEW9gMi+xH1qLg3eGHy3u/P9tME1wj+8L2sTftgsNS7afodC6q6jMK7kVTivYDjbmZSHepovAKUN5PIkKxLOfroFGtDksWK1Nw2+ZGvT5Q/mBFquAm1n9hKfAqJJZb+3mFhJKbT4i35SQZLt3fb9poLTZDNdkg1syEPzeb17o2O57CUteKHd4cBMP7qEYs1N/kNsojahQlhRfZj4KiMyPxZGe520N31ZpA+YUEmkyV0EGOtGlCfrzBQPZ1U4OclnGyziH+gWPzAnojlUL1mGdzYrBM1szHYMcM69PiuBlPAJsrOWNg5F8sSPF11skDD6UE29YamPMOqux5UJ1xSQ24xBLajZY+fEoLjtEVPIQ9u0hf8pec0g678XY82iYViDgUuTH+gVhG8up3u/5wRyuWoYdh9xkDLd5ARAR0Y2ovr+C8CLj2NuatS+B3Fc944pOrMFz1BcqKfgXgYg7t67BU76YTmEKvK4FBRIdRnzcpng/Qff2nVSG+poACjlppqVGsyAYoCZ25xtCXJ+5Rfj9s1MiycbyGQ+qgZ/ugw= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3de1347-a58c-4376-2d17-08dc3ea539f2 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB5706.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 12:50:54.4083 (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: GKganSvIt/LcMkZ/weQJde+m+EFEpI4t2etRTQMUnpqs/6sbpxvCYR2FzLcgcSZwY66nvWiM3BETIEYw7PrMEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB5025 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-07_08,2024-03-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 adultscore=0 phishscore=0 spamscore=0 mlxscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2403070087 X-Proofpoint-ORIG-GUID: NighrPYdTCKFr6DwK4cGq1X3CL3uaBFp X-Proofpoint-GUID: NighrPYdTCKFr6DwK4cGq1X3CL3uaBFp The current _notrun call states that the scratch device is too small but does not specify the required size. Simply update the _notrun messages. Signed-off-by: Anand Jain Reviewed-by: Zorro Lang --- common/rc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/rc b/common/rc index 50dde313b851..5680995b2366 100644 --- a/common/rc +++ b/common/rc @@ -1834,7 +1834,8 @@ _require_scratch_size() _require_scratch local devsize=`_get_device_size $SCRATCH_DEV` - [ $devsize -lt $1 ] && _notrun "scratch dev too small" + [ $devsize -lt $1 ] && \ +_notrun "scratch device $SCRATCH_DEV should be minimum $1, currently $devsize" } # require a scratch dev of a minimum size (in kb) and should not be checked @@ -1845,7 +1846,8 @@ _require_scratch_size_nocheck() _require_scratch_nocheck local devsize=`_get_device_size $SCRATCH_DEV` - [ $devsize -lt $1 ] && _notrun "scratch dev too small" + [ $devsize -lt $1 ] && \ +_notrun "require scratch device $SCRATCH_DEV atleast $1, currently $devsize" } # Require scratch fs which supports >16T of filesystem size. From patchwork Thu Mar 7 12:50:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 13585538 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 11A823233; Thu, 7 Mar 2024 12:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709815866; cv=fail; b=U0kcV50XU2AA1+ykfOX5wVKUWV8wspKJkWnc+8uX/mAotkEUQ8bzaydnX00fR1m8637Mi55b3t7r10ziEIBctWFGgvJvYHVRLCNw+Zxa0WsWG0KdtuaFZ6WL2SptRcOQbtzZqLWYKrB90tBknQZyNu7lYEoRQhp+vcZo6oLzR5Y= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709815866; c=relaxed/simple; bh=RpzxUorBvy1lRvuDMVz1anpD+WqKFpIq7XXFq2e4uok=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=tUe2867q+Mucy3aGAEeAVoJjHpuFo3xlHfPNBcYSi5svumhQcH83zwiBzoKho4GX+gLEoff6y1O0TbexJjfao+B6h2QRXq8s5JA6kYOnp6kdhzIWz9fklB+2/k5rD95+YlxOQmxmz6bsWQM48WQyVVVDo4YyLFaClHAWSALFHHM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=YUg9ync9; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=BouQvWS6; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="YUg9ync9"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="BouQvWS6" Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 4279nTNG019333; Thu, 7 Mar 2024 12:51:04 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-2023-11-20; bh=IEtREtBS5XpPpmUSNVWEvfYh1XCybKJEUIcn/jPaLtI=; b=YUg9ync9oRre1rxdMJb46CvqKmfQL5C+mdx7t2EstGKuwGfCSg9CtFtkU+/xsxhViMuG qDo6lSSrjzJGFnRjU/qHDOyOUrvQLJd+c0OMlbSsyWTipVGGxys8wfe4/7M9jFuNLouY Fz2BRwghul+v9mIbwR4dqddwKbFfUSVS5kktlGiT0zdnfVxbvGVHXj8OMn1TcJu6vz8J laWDZralSCSF22vcBubPYCGiSYHOJ/N+SQpydPQIVvO4m/iwdIbXVhTGu7zhTR8Oln1N xVxZylnjZMQtmq9dX+UlNJALU4pVsjlJ/hJ8QiKNl1ScPXtOcuTYnaAGt+CAemMzTQAp Yw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3wkv5dm1hv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Mar 2024 12:51:03 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 427CQCcL005147; Thu, 7 Mar 2024 12:51:03 GMT Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2041.outbound.protection.outlook.com [104.47.73.41]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3wp7ntr3ve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Mar 2024 12:51:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nAC7yr2Gpn0P+4s07Bq5A1PtuvJcrwoIH5K6/F3KCldwHGWl4y1XCWFRprgDLfdRDFV8NXLTOtGkf4RXv0i7OqxGmoH1h96+grH5Qn8YMjf8CCV7STsuiSmvy7OxVG3DjohIqI4yJAJyCqUGqSHHVKTjUs0/wX6N+vgvDVNf1AtUhb7jV+y5ck3UXq5tyYOOX2+DVDeQMzBcdj0lqXkDVN9Wh2b0YnCnDaBhOeVlMLvOoevAGF1qZmzjxMvgA+0sb+f1LD5W6QGuHBwIppDt/jmhlUuygZABB7bIGlSrCg8TWgQnhHkT6PNN3ADiQRkAMNIqq7edFY4kjUs5JzcxmA== 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=IEtREtBS5XpPpmUSNVWEvfYh1XCybKJEUIcn/jPaLtI=; b=Xp90l2ZXEQZqfm/831jvIrcjh7oy8GAGs9O15ARyOow/pdt0e58xVRNEfPVeto0paIKGCfOs1w7VnaXkKJNqIqJXzKGdQrHeScIQDc4YkQW2IALt+QRBsq1FHVcnnactVnUMEpOL3I/8uA358hRXMN6pmggS2W2SIzIVCKEViCo3hFFyyQPYSCKG+lnkYJO5taE2TOMBkY3qvPbVCHNoTp3Gi0vcXxm11lhv6xu0EKRuRfTk7niTMFRXLmY6XKoxXM+1TozwBx5V6an3skH3oXWq+aH4rlcKosOex1wq1FxNfaqJU1tKS5cicDhEy0C2MN0zx7KqP+p0SScd+PNSjQ== 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=IEtREtBS5XpPpmUSNVWEvfYh1XCybKJEUIcn/jPaLtI=; b=BouQvWS6B2+2Ny2/a182SWxPDcjrAUg21PTtE4IF+VVWyF5F1qADY73qon/IEAbV7mJyWQnVURYUYfpn0ofU54JbzPwzUgY5Iy9sojVGLzROHaJgSL628s8HVOykai7ggc1nPX/iqkc3kXepzvRt97hTOqyW2FIj0jrfDCtILag= Received: from PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) by BLAPR10MB5025.namprd10.prod.outlook.com (2603:10b6:208:30d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27; Thu, 7 Mar 2024 12:51:01 +0000 Received: from PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::814:3d5c:443b:17b]) by PH0PR10MB5706.namprd10.prod.outlook.com ([fe80::814:3d5c:443b:17b%7]) with mapi id 15.20.7362.024; Thu, 7 Mar 2024 12:51:01 +0000 From: Anand Jain To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org Subject: [PATCH 3/3] btrfs: test mount fails on physical device with configured dm volume Date: Thu, 7 Mar 2024 18:20:24 +0530 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: References: X-ClientProxiedBy: MA0PR01CA0120.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:11d::9) To PH0PR10MB5706.namprd10.prod.outlook.com (2603:10b6:510:148::10) Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR10MB5706:EE_|BLAPR10MB5025:EE_ X-MS-Office365-Filtering-Correlation-Id: cbcc7234-c3fd-427a-33a6-08dc3ea53da7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R+kKgrUFIqrraXDKkm6D3KanMZgBFHVN2A5DHJUTR6gchnDNQY7VYzq/w8oOTJQa7osYujhkjZwyeHd+J1iXmLN4Xg6Irthxe2MATyTFJRRq4YieX5G5XmStOne2QBJ2eR7ySaZMVRTqa4bzdbUy08vipwtMN6MM4+koXiuZb5vwadCd0W2rXVEAiBAevtzOGqOR7KNDiGgkhj2G87a5pZdMGF7gxYWmN599ZR/ubquXlfhBxKq8eCNI4palkkWSVE5MrYpMmcK6mS9JMuz2RImlnnqDuSDfmrgqSeR6y32f953qqAa+UG2A11D392PGVjZLlxLM3X5r3ywV0DkXAPhru+a41fY40rQsNT3/n82QNEdhT53zNM3vt8bRFJN/w4jAshPHSWLOiSYE20xdZL0qo2sILpB7PmmcR+YkQatwtygKJc27H9KxLqOIJIHFKMHKTRBdSp3KnJ5G++nDvefGyvdLo7YK2jeh/CH/O6BbMWl1y+UJVae/L0YGSssML9lPVVoy6Gw9k3m70s0pItEfWjTKxJt4Q/YULtcHV83mr2LHGFk4cEHthG32IPQVeSHXsweR7b41YgK9A7l1nGZT+eAw8fNsrvgz/4zOV3Z1E58djLeY5efRGSoR2h4L3kxRVRKAiR1R/jXNu9BAvpsxPNAqJFIgyaWKMd24/nc= 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:(13230031)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zmtEXYBAslGuf53X6guzh+R02PNRSXmr9Td2nuoiTqFknIYKf1YULhUoEMgddPLrt3E8iM2f4+oHC9gruBx0URtWYfAtsTIKMutB8e6yly9gIwy6uTGb1D1Wczy/5LXptXcLACVNzfvPlLniY2N7djutKICCNZT02xJwWM61Dsl8RQWoKoPHx5wquF2Zjwc5Dw2zZKc6/nUz3PSqsV6tHujYA5iEK03rQv+O+dvKFl0ssuG4sjtll96owBH37lAjLlGYbTXww5WhJsvCOpCa9H1cABnCK03PsZGARCgSvoP34R7sAlPaYDIwDh5wlLGYzF9NhlKDD+2SRu8XQIBshwpcSTpc66an5t7aBiSPQNwgy/cb+POz9ENwFaGQAqWw144vUEX+YwzMBvknVFqeAjTDNcwhaDQhkBg1WXTvv6Aw8UYSLHPEDAUwiIUWsl+DawFyLH+GGSBtreT4FwHj1n7FiMTpWsF0VvyaLj3vgIAl+Ld133XkXr9UsTAd9xMJnmJEYO81tN3hrpXEYAh9Zdx0SsQasg1VVyY5LecpmTiElC1C9Fc57pjW7TPAcgx17SSL6rrS9ywuXr1qBZeqnYj0wjV73ybZo8z/4hOmdPjawjGjFDWtRqGzOiL0d9oxqFyHZcYR8ahCu75XA4aiIcq8tpzH8+MYiGKql3YDNR6brJmSK++MSy/iGEOEnAIzX/+RV2e6NQnrM5XBOn1l0jyEokOgmmMA295zjTNpj7a63AbeW0KnNSOOBN/FG1tp02KizYx9yQNzbr3Qwa0eGhcuoT8umfKSqwc4OJYZ1ZJ1UR93qcs76itL+2PTHVnVfQWvrY1ZQWPSCR22T5Uj2buEXAm+/2TfAFF5KwDqtCXDztg2X9UGGVZtMNsbgESn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S7zAgcULV3Q2zxm0/GaWN7lO6tfp8IPav/DU0vQStf8I7jJ4cfZgpQY2DwsI6W3C1DBZrH2gNeOGAbsQWOFvwCECJaUJyuZ2BemKxP0+yzj9JrfMGRsAHzqdJACSKxU5cgkQCLggVAxI/ICu/qFt86YSmlIJwCm718evSNz/O/8klaTKSIDV73ssWRtFV5dZ8P4D/zJiRQfI41jGezF+Vr/CL1UbGe/dm+Td99/rkM4fL/s4LAMEEO/GGn6y0RR+NrWrspQj7j4nSytxQa+iNXm9dQkFvBf3fUWCwPh/q5I75qGeKVACKaA9yk02iYfIIvi2U= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: cbcc7234-c3fd-427a-33a6-08dc3ea53da7 X-MS-Exchange-CrossTenant-AuthSource: PH0PR10MB5706.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 12:51:00.8125 (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: V0MfiOk39d6wtMPHk3RNHpqijcrYMz3/o2WRstFxZAMCegMMGQ6NdHrsaK9IiW6tc+znr7y1XDTIsFjVgPTtCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB5025 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-07_08,2024-03-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2403070087 X-Proofpoint-GUID: R6sy8Oz0_DsT2f2UIzdEhmVAloOyuYQs X-Proofpoint-ORIG-GUID: R6sy8Oz0_DsT2f2UIzdEhmVAloOyuYQs When a flakey device is configured, we have access to both the physical device and the DM flaky device. Ensure that when the flakey device is configured, the physical device mount fails. Signed-off-by: Anand Jain --- tests/btrfs/318 | 45 +++++++++++++++++++++++++++++++++++++++++++++ tests/btrfs/318.out | 3 +++ 2 files changed, 48 insertions(+) create mode 100755 tests/btrfs/318 create mode 100644 tests/btrfs/318.out diff --git a/tests/btrfs/318 b/tests/btrfs/318 new file mode 100755 index 000000000000..015950fbd93c --- /dev/null +++ b/tests/btrfs/318 @@ -0,0 +1,45 @@ +#! /bin/bash +# SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2024 Oracle. All Rights Reserved. +# +# FS QA Test 318 +# +# Create multiple device nodes with the same device try mount +# +. ./common/preamble +_begin_fstest auto volume tempfsid + +# Override the default cleanup function. +_cleanup() +{ + umount $extra_mnt &> /dev/null + rm -rf $extra_mnt &> /dev/null + _unmount_flakey + _cleanup_flakey + cd / + rm -r -f $tmp.* +} + +# Import common functions. +. ./common/filter +. ./common/dmflakey + +# real QA test starts here +_supported_fs btrfs +_require_scratch +_require_dm_target flakey + +_scratch_mkfs >> $seqres.full +_init_flakey + +_mount_flakey +extra_mnt=$TEST_DIR/extra_mnt +rm -rf $extra_mnt +mkdir -p $extra_mnt +_mount $SCRATCH_DEV $extra_mnt 2>&1 | _filter_testdir_and_scratch + +_flakey_drop_and_remount + +# success, all done +status=0 +exit diff --git a/tests/btrfs/318.out b/tests/btrfs/318.out new file mode 100644 index 000000000000..5cdbea8c4b2a --- /dev/null +++ b/tests/btrfs/318.out @@ -0,0 +1,3 @@ +QA output created by 318 +mount: TEST_DIR/extra_mnt: wrong fs type, bad option, bad superblock on SCRATCH_DEV, missing codepage or helper program, or other error. + dmesg(1) may have more information after failed mount system call.