From patchwork Thu Dec 23 16:01:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Sementsov-Ogievskiy X-Patchwork-Id: 12698473 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65576C433F5 for ; Thu, 23 Dec 2021 16:09:44 +0000 (UTC) Received: from localhost ([::1]:59788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0Qez-0007iW-DP for qemu-devel@archiver.kernel.org; Thu, 23 Dec 2021 11:09:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0QXl-0005CG-Km; Thu, 23 Dec 2021 11:02:13 -0500 Received: from mail-eopbgr150094.outbound.protection.outlook.com ([40.107.15.94]:1607 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0QXg-0005Ky-4y; Thu, 23 Dec 2021 11:02:13 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EFLvdOFlIWW0orY69KHwEkJZWTg7k6XbSYJ3Ibnqftd1mNBSNCm+qeJrPoZJD/9+fufxR81yEjZbj/4045uNH8WMnAw4pxVNEFCIM60bgFcA/YWKwcEcBU+/qA/IGGW/lvyKyOpIGx4KISTc0S8MJRWvcP5sw2G/UTZv0eny2nlMrw2tU79a7zWnc2Ja8SYr5DoDoDFIQF4KPk/S7lzTFyg0rEug75BUNTz92eIBzSs9Yc3TDKHpxHnAdXOOxbANnMeHOS2f+OVzJjYBy2a0KcNf/mKpu1g8O/fLPqegkKyczDlpP73IopUWsD5nJis540Mvz7YdHT7W/g+RvDhm2w== 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=YBPMoASQarVNPpivG6QfxwVne5VyP6pZdhBUnZyQXb4=; b=GgXJPQEYiG+7/ZG+Yzjz/HebQrdh2WM674HWajBJqtXKeDEZarll4mflhPdPjtDbgeCYSCaWEt8WXVsXWnPCq/ujcXxV1caLjTLRbH6q6rlgYTr8Fsf0f5k2pmROHxMsWowlYsc+989cnfH+svstcm+XHv0gnB3BdrfJp3hFNMSP4Pondl0RS1kXLZFihKLaZN7SKLMi+ROONCOMHZLaQ9VOggYK8oE/ef04/6+OtRQKvwMQfJfQmRSpzQ6D/+tRSHdbYpajj8puM3NSOmL6UEhdxlrnzT5fsb+sJDBn1xpfxa47HHtKQPnlAd0NFWcPQpmnfNgnhTMVK46pwgiDiw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=virtuozzo.com; dmarc=pass action=none header.from=virtuozzo.com; dkim=pass header.d=virtuozzo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YBPMoASQarVNPpivG6QfxwVne5VyP6pZdhBUnZyQXb4=; b=ds4bQzccYDI4HrGJWNkU/reyc58xuEfs6ea6Mbn3STQuUAzyAfgmJNNNpG5Ig5/x5578lHMaHeS2gCa2Xnq9Tdhr0niTtPMgcglrtzBPZo/bp4AZAXppYa+/KFFIWnvgUsYJFdx+5wOuNtFslVtReSqiT2AfZCJ2T/ejKOH8IAw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=virtuozzo.com; Received: from AM9PR08MB6737.eurprd08.prod.outlook.com (2603:10a6:20b:304::18) by AM0PR08MB4147.eurprd08.prod.outlook.com (2603:10a6:208:12c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.18; Thu, 23 Dec 2021 16:02:01 +0000 Received: from AM9PR08MB6737.eurprd08.prod.outlook.com ([fe80::b118:483a:d003:3112]) by AM9PR08MB6737.eurprd08.prod.outlook.com ([fe80::b118:483a:d003:3112%5]) with mapi id 15.20.4823.019; Thu, 23 Dec 2021 16:02:01 +0000 From: Vladimir Sementsov-Ogievskiy To: qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, kwolf@redhat.com, hreitz@redhat.com, vsementsov@virtuozzo.com, jsnow@redhat.com, Max Reitz Subject: [PATCH v5 18/19] iotest 214: explicit compression type Date: Thu, 23 Dec 2021 17:01:43 +0100 Message-Id: <20211223160144.1097696-19-vsementsov@virtuozzo.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211223160144.1097696-1-vsementsov@virtuozzo.com> References: <20211223160144.1097696-1-vsementsov@virtuozzo.com> X-ClientProxiedBy: AS9PR0301CA0001.eurprd03.prod.outlook.com (2603:10a6:20b:468::8) To AM9PR08MB6737.eurprd08.prod.outlook.com (2603:10a6:20b:304::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3686b378-2d58-403b-f225-08d9c62d8e72 X-MS-TrafficTypeDiagnostic: AM0PR08MB4147:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3513; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CmPOdkUHzeqhJn8FS5qWnuEWU4RLC7J2OdsCTXIAe5n7KM9GUUPw57BbHlUoNN1JNwPs4EEoGxQg0uJIPrT+B5MkR4hiHDUcspa5lYjW9VsjxVy9m60GznEEgNQ0w4tD20umKKlTDN2tLuX4TLdrmZP40Aq+6AfollX4WB28jrz0eJ378YgYhgkMgddEgBM7J1czxh4bpdPh6udnlQNiBz3UiNvZTO6nbPCItBVgQ5C7a+83NIt0WC1MCdPqZFZCrLSKt+f/RW3EaVUSzoqePhdEoJmKcpUAyBaybiLNQtTsoCm1tYYqelPNwmSpccIAV006vrozIP5dhYyypenOLOMaDvpAUrJCmSrWisSuAv8aYFjaPDH1906zodvHJHeA8PAmbVGYrKSPh25ZrnM9iDU1bA84S7wcLvmVabehXqfnOdbhBfj7l/LlUPxJyrH4cLlm14KjUaEVYgwniUJ+QoFXGvMmY1M+0rKAW0xErqRHGIZm51IObnzTHTVq+dvk2QaDEewKP4/sgV/wDLQj3eaKuIFuscT/gYQPn9881YyfFoU9pZMMRr6nx+vzRqyr9k0/BbzDooafjL1uS+3XkFFUk5v68V5SqpzXJzDyn6alkI1OKGBJRD4D3NoHiETWNw4ljHIk2kHBuWSg840x2ShL/i4CWEZMx7+CGL070cvYn2AS255ag8TWJkkeSAmhA8YzNZeXdPWl1xVz2ZhISw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM9PR08MB6737.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6506007)(186003)(26005)(36756003)(508600001)(2906002)(6666004)(86362001)(1076003)(8936002)(316002)(52116002)(8676002)(6916009)(2616005)(5660300002)(6512007)(6486002)(38100700002)(66946007)(38350700002)(4326008)(4744005)(66476007)(66556008)(83380400001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eMAAC0fr/2sWa4qZ5W25f3an7fsFp9t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L0Wkazm/LLxrSPKA/tIrLAJdHgKqGeSMN8e8PnWyFecrCQMF1UyTaZafRhTliiwZZCV040f/jywSy32iX8GrdVcp36QFiQDMT/MBpdAxGCZHbq0Z9Xt4OYCsd3iN6fuQ9l6ayyiDPpKCma9cIYVxFDnkDPDi3nvVrEMQtbVsh3en2wir7b1ROzU3T3iB+8tIyR5NXdYFbkyNdy4v/z63caaUZXdHIu4W0RWTk0GyBmkihHBCQZfyohs9zP2VB+vNxf9Xm6q6Fu/Z9dOYHs29aEZcW8Ogp2kwnerCOW2SOIfifvlLCPbs9Eh+WcaBxsFu887/u9hgIQymLTBLAYb4lZypoYiiudoZTH74GLbYtava8NCKSsvR0ErpYZqKnvTkNXpOKqn+jtORCNuUynYVpqxV2F2NzRD+IVlhARQ4OK98Ybck4S4Bu5tGqbuCxNDFSUq/VXKLU3cftVA5YdJIiplFnoBmG9e/VbV93WKVuFd97lYc/XfnEbAJ85ZqC3lc4DzgKH27J7XJMykuqWSJ59k9EsVF+c0W1y/HWPk1QA7+Xoc8PmU28iOl/ArhD7HjzT5q5zq/rwgfUc= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3686b378-2d58-403b-f225-08d9c62d8e72 X-MS-Exchange-CrossTenant-AuthSource: AM9PR08MB6737.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2021 16:02:01.6610 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4uU2VVwvoH6UrlzxIrv8WaRA7atAjQiQ6uaSHNLiLM1FJ1zEXErPF0hw5BiTN8QtuS6jjhb54R6BgrxfmtBmhZrJENHeBwXQ+50NOPJXBj0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4147 Received-SPF: pass client-ip=40.107.15.94; envelope-from=vsementsov@virtuozzo.com; helo=EUR01-DB5-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The test-case "Corrupted size field in compressed cluster descriptor" heavily depends on zlib compression type. So, make it explicit. This way test passes with IMGOPTS='compression_type=zstd'. Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Max Reitz --- tests/qemu-iotests/214 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemu-iotests/214 b/tests/qemu-iotests/214 index 0889089d81..c66e246ba2 100755 --- a/tests/qemu-iotests/214 +++ b/tests/qemu-iotests/214 @@ -51,7 +51,7 @@ echo # The L2 entries of the two compressed clusters are located at # 0x800000 and 0x800008, their original values are 0x4008000000a00000 # and 0x4008000000a00802 (5 sectors for compressed data each). -_make_test_img 8M -o cluster_size=2M +_make_test_img 8M -o cluster_size=2M,compression_type=zlib $QEMU_IO -c "write -c -P 0x11 0 2M" -c "write -c -P 0x11 2M 2M" "$TEST_IMG" \ 2>&1 | _filter_qemu_io | _filter_testdir