Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp837426rdf; Tue, 21 Nov 2023 19:43:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJB7vBh44yLlIm1B3JK7BAG6TsaZIMJrBO2/eoe4PVGTTDPEiCxiDH4Dhcs0bVPAyjvVhY X-Received: by 2002:a17:902:ea0c:b0:1cf:78fc:4867 with SMTP id s12-20020a170902ea0c00b001cf78fc4867mr841945plg.52.1700624591686; Tue, 21 Nov 2023 19:43:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700624591; cv=pass; d=google.com; s=arc-20160816; b=op6PLZdlBWh0J5b3OCM77Ifo+m8CKYxxE4ZJmk9pqr6Jvxp1FQlUAS1kkoNrWgSHkn NIK8mYuL179dBwsi7tf5WK7s0yq54Hmp8sy0fD2DreJETnjPNpB9KQ3Don3JDXq5ZiZI b7rGCVmLzy+AP2Fipei7LYaoUF6nnHEsNYmkA8lyqTn1u92KBLwJ6L0Ilz467lWs/F9q u4qe+mLz6ooPx6WxhGMoHArKS+jrsowVeyS8pnCdiWEp2nwoKK8gdiDNEzIitKqsibOF Bnvgh5C+njW8YdSdQRhc2QkBdAuTHIQqHpBMb5I8RTUaDKbs7dwZXEsYrSPhq0IMl4bP WbXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=krSYVEZ1urv78MrZTPe7aKwLhVd7BQF9SttC/bBfuMc=; fh=Uwk14n9IAhtHIypdZ6uvL+DGXQxpagaq/e2hu3ao3xA=; b=kJWe9GrV8NzBvbskqSBpWiBbfqJHSOjxAdyjAfrsLmRxL5QJUGT6Yph2WS2IbJhlwm fhKuebZUyZYZ0g781HSawAWRjwRg4w8Kp7EgrzylxZFzmhiXL5RmLsMPLdGY5266tm5O V2OTHIm064H6+78DvCKxLG4nZSXpHhB8QQGCBakOX4U+se/ZyYhGvDa7QYhmBlJss8Y5 KuUF17eFq/R6IQDRlBmG9lluxOwWzwlHf4AFQIbFVVYI45NKD3TTih3daNr2d78JFuNB 9vKbSOhotYkIbmsPHbcWyxZ1qXij1ERaKE1YO8A+sxidWRbGag3LfdNHlRVVM5YgGl8B WHXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=TCxF9zui; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id jg12-20020a17090326cc00b001c20db25108si11081421plb.41.2023.11.21.19.43.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 19:43:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=TCxF9zui; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 80B7A8023D7B; Tue, 21 Nov 2023 19:43:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343574AbjKVDnC (ORCPT + 99 others); Tue, 21 Nov 2023 22:43:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjKVDnB (ORCPT ); Tue, 21 Nov 2023 22:43:01 -0500 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2113.outbound.protection.outlook.com [40.107.117.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96DC518E for ; Tue, 21 Nov 2023 19:42:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aqjAyQ3Z8OsDGCVE32Qx3dQLmGoO6Sds6vU1uF+UTij6mwNrvfr6A/+P6/QC+MUARCvT/ztXeeMoInw8p0BK2HvdsTLoXTTzSbPxkf7VEC7fJ0NYEnBs1Sn1FGZzglP0ulbmNuUAYN7gDjzKR9dvkP36cPcW1U2glJwzx6Y60MUIg6otUTlKN0P60DT0MElfTotf5EnEVC1ODcpStM9o4JcEuflXV1S5Q98BWG7qI7MDnMv9gdVXe6u/XCtwIts57ovdt0XMb2BD6uV7RAOBrnf24vZUlDrUvPuHjzMQs3mL+Ere7JOLqgEdaH4DH+eAU8gSuCC3vDcLo+gmTOa6Wg== 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=krSYVEZ1urv78MrZTPe7aKwLhVd7BQF9SttC/bBfuMc=; b=W7nFNRBsDvsUHyBRFGbbcJcs4y9/sQ5jcLu38KwS+Gd7vqCJl5ndMlMf36udIyulbIb7INqraehDwmtitE80VQR0/pnWZX6gdGEtrKWe1dquImsaYvkHF3SThfrUm1z1TcUe3MDws95uf/63PJWTLzc0c2iCoqDizUfbZnNuZ7aoC1dljQ42P6TX8donMZqaycV5xMpvDy6MBYR4ITUo3aC/1ZmxuP6g7hFfvFyWf21PFu4fQwh1anGIyXGLfRPBF4Ru3U2NAntutcawpjSOJT5l9QRsuLewCVjaqBPWWHVyLxIshuT4Lk1hSYBGSV9bEc7JCPQ79b7zhL1xhcZdRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=krSYVEZ1urv78MrZTPe7aKwLhVd7BQF9SttC/bBfuMc=; b=TCxF9zuirJaF49dVN0w8tSt6ZdGqKdVuE/nmmHWl/yaQs9FjxlZSlhaL0WHMK7+/ARMucDJZ+HyQ+lb9JxROlzTV2Nb3zj32RzEZVSCstzF8JP+/LUW9U3jQgJfo9RseSvJTTJn/0mNwct28m9vU92hhKL5T8HusN05fF522rswdRCIvb/mv2yZsmoarGTB/5L6vAKtbDDVIMwe+1/rxd7GjuTcwQfrqwPyYIDk8ixHiIpaK5+5Q9BsoFNh6gGJj/CDZxGB5wLBRejwZBwUAyeJFbkasLZl9QfXicfgZMZLOCgvZNyH4LK2NrNkQGry4l32ATMYPlvsKGW/VHzL/gg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from PS2PR06MB3509.apcprd06.prod.outlook.com (2603:1096:300:67::17) by KL1PR0601MB3891.apcprd06.prod.outlook.com (2603:1096:820:2a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.18; Wed, 22 Nov 2023 03:42:49 +0000 Received: from PS2PR06MB3509.apcprd06.prod.outlook.com ([fe80::863b:f0a1:3066:24d]) by PS2PR06MB3509.apcprd06.prod.outlook.com ([fe80::863b:f0a1:3066:24d%7]) with mapi id 15.20.7025.017; Wed, 22 Nov 2023 03:42:49 +0000 From: Wu Bo To: Alasdair Kergon , Mike Snitzer , Mikulas Patocka Cc: dm-devel@lists.linux.dev, linux-kernel@vger.kernel.org, Wu Bo , Eric Biggers , Wu Bo Subject: [PATCH v2 0/2] dm verity: fix FEC stuck during lower dm suspend Date: Tue, 21 Nov 2023 20:51:48 -0700 Message-Id: X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2P153CA0002.APCP153.PROD.OUTLOOK.COM (2603:1096::12) To PS2PR06MB3509.apcprd06.prod.outlook.com (2603:1096:300:67::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PS2PR06MB3509:EE_|KL1PR0601MB3891:EE_ X-MS-Office365-Filtering-Correlation-Id: 2461ea5d-d017-43a0-5f38-08dbeb0d1862 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oRUzUadnYDD4Z9o7LXUfaikCJV4thvwTbWfgKZBbwUWueaE1aGeOz/SDW4QjvTNhP4oGIsJFPDikCcfBEz78gLm1j8XD0BpLd8cb3WK690HR5HzvDgfc+Qi93kaFyGPlueFIUG33dGREZUjtUrH1vMXaug5oaw3gAmMuSc+vRyj0Bs/NFk6zsedi6f+2ksPyjAGD6sIV116u/6pPdGcjex9Uz16UkvfqtDED82UVBV+XAUkGYm+gXXQ3lTGW8Jmw0EHuxaweFkJmxEDOr/C94Fb57ONGFQbu9wE3iPACMTcqK+tqJHUMcnHO7a9KHl5RpRNapJtFRc7c3HpB7t5Q5QAzzn/2NtlV1uMpJnNz5NkZrJa4IwabSe3Edu3L97TWGur4KH18GIFDbufGtBKtdArWBUtQQbrRczcYsWqNmrYawl0e41+pv6E6Tciyhqk33eV8z3Tjbugxoha0Xr5Hdsjbg1Iz7CJ1jT92wbg2yUVNRXpCbsnLDudDuxVjgYffA2osyg9shPZZKGWMOgjpfaeZjoerhRSAiUFXj6HtxSw7WKKjxkfq2fkN6gLiBUO6dUxUjn0jfcZBlHHtALSMgXH9vO3ZJHaWwa7RWg38dVZcJ8FZaZi40B89iVNqw2Yw X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PS2PR06MB3509.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(396003)(346002)(376002)(136003)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(41300700001)(38100700002)(5660300002)(4744005)(2906002)(86362001)(38350700005)(52116002)(6506007)(6512007)(36756003)(478600001)(6486002)(83380400001)(2616005)(26005)(107886003)(54906003)(316002)(66556008)(110136005)(66946007)(4326008)(66476007)(8676002)(8936002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?KhQ3D+v8LsJgFru8Ju+2D6kR0bA+R5Tknu8j/al7z8tK8vRUaYA6ioyrf7Xh?= =?us-ascii?Q?sRatW1oeninPDkzuIsQCbRA1W1VcGc5u9mAor1Wra3epx0AmSOblUI2+XBD6?= =?us-ascii?Q?6gIXrByaQG/fOZw7zjfdwoj3NMB3K7IQJlY83Z7s855LOAmnlmZ0pK/k3Hst?= =?us-ascii?Q?Y+cAIgKFa/hfG+x/1QVomceVZA/up5g9acTulu6LgBL/x27zl0xeZuoeQebX?= =?us-ascii?Q?Lw5YQxWJ2rs0iIzaHuvFVrWXl7UUCcys8H6MRD8qdWk1CIU25lIHvhCPFo08?= =?us-ascii?Q?gkvuNTLD7cpS4FpVkWNGk1v71K17A15Qsr+Qb8p3JwmSHCrMVYMvjRhrX2cu?= =?us-ascii?Q?GynSXcx89cRmGg973ea2NeyG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VRJEMKwGmCvcsmJAv/OUFGhifR6zlZutDJwLrvmhnDFAofHaLKk0M0G?= =?us-ascii?Q?cIogfv6iJKMEDvvByVV1ohtt/mz0SCwqDqwD/fY4/4cMsS/Z32j9aVCgFDv5?= =?us-ascii?Q?IcWB/7TR9FAtyoi8akD7tcH8vQs68ET9LL2O5qnMmMQJ6HORMuTSelyW5TW0?= =?us-ascii?Q?r7pEXr5DfL3AoF9p+CkhuBa4pzrAQH1A2QP4vxCg0TdC/Et3cY9XYRquiLeL?= =?us-ascii?Q?fmSl8uYMZ8GpGP+hWplL1iY1gXa5q6PUwvJu06/ZL5z3QInfvFxc50enzFgi?= =?us-ascii?Q?kcmCw90VWSGDVLOhQvYvjEvpzAw3O3oOEthjIlmZ?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2461ea5d-d017-43a0-5f38-08dbeb0d1862 X-MS-Exchange-CrossTenant-AuthSource: PS2PR06MB3509.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Nov 2023 03:42:48.3106 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tqcFZolT+1RC7a5oA37+wO3KvvwLBe5LG+HqQ5sBuepiidYz75/LA0+M1o4F6+yZDuoTgR6feQczOUHk9LMzVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB3891 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 19:43:09 -0800 (PST) Hi, We found an issue under Android OTA scenario that many readahead BIOs have to do FEC and caused system stuck. These 2 patches try to fix this issue. Thanks Changes from v1: 1. Modify patch1 as Eric suggested 2. Add "Fixes" and "Cc stable" tags Wu Bo (2): dm verity: init fec io before cleaning it dm verity: don't verity if readahead failed drivers/md/dm-verity-target.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.25.1