From patchwork Mon May 22 11:54:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Nan X-Patchwork-Id: 9672 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1398875vqo; Mon, 22 May 2023 05:10:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7McQ3aHjxpZchVxpfjAFdZ/zQvIBzEk8thYixIkd4i4BfFpCOM7lmdu3YRBgE2dMgxEvtF X-Received: by 2002:a05:6a00:228d:b0:64d:1c59:6767 with SMTP id f13-20020a056a00228d00b0064d1c596767mr16377444pfe.24.1684757457726; Mon, 22 May 2023 05:10:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684757457; cv=none; d=google.com; s=arc-20160816; b=svozsVbYJp5mg/Pa8Cfr8S5AxSr1rJjrXOOZXf2PiNd3JJp/0U/+5csVgn6MFGC5sF dTNXs2sZnCKGh5MO4TM/4yu+Q0bHa7gV8mRzq5lPRtUqWIyjoJThhMMf3lNFUmeQAvro rmllc0udYFTSkCL+EyfjvBBVy0YJLM1PVZtqr80tRaoxq6ReiJJJ/7nKV+0zdey/fhdW D+jb2d9KINyF+t9/qArxYCPY3dp7SnFTeVF+O25xsOaFcKbysAUVf9aw6hSnU2GaOcLv dqUzoI9w3kShCmQxqbosH/V5oJI4c9/+rLng0MbhSqVzWygoi3UCL7TOz182q+Z5kZOC 0B2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AzSaUeka2njnAtA7m+fOo4WT/YoDRE5HVtg6RF1RFJ8=; b=VQvdiGHjNuqk1pZyDN4R+BGtnfWO9XZ2tP/erXj8lxokwZvZO5oRsMNnUvwscmX0QH 3esm3Vka/pcO0lldAlvlc7hAKyT57qsJPOKHNQff0mQsiVPDcgRjGXzEJlSN6gjPVT2j Q3GZ+xVxU+RUjQ6YszUn8ROps8qY6bK+zj5oPrERNtaHO2/eyrLprww+0fk+bYusI6e5 8DGnaBB8FWuOL84ozA5lao3G7HhsiWOBy9h7k7VSWHhU/5SZd5rtKD3ES+sk044QF8Qd NaxpPygm0c+nTzo4thFzUGgONOWBH86x7DWv9r8+bhubmvryamASW1S08Hd/AzGbFa/U nZbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y21-20020aa79435000000b006436002d796si3639382pfo.1.2023.05.22.05.10.45; Mon, 22 May 2023 05:10:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233523AbjEVL43 (ORCPT + 99 others); Mon, 22 May 2023 07:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233338AbjEVL40 (ORCPT ); Mon, 22 May 2023 07:56:26 -0400 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B68CA; Mon, 22 May 2023 04:56:23 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4QPwrz5Y6hz4f426b; Mon, 22 May 2023 19:56:19 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgBXwLNiWGtk2XrkJw--.28031S4; Mon, 22 May 2023 19:56:20 +0800 (CST) From: linan666@huaweicloud.com To: song@kernel.org, shli@fb.com, allenpeng@synology.com, alexwu@synology.com, bingjingc@synology.com, neilb@suse.de Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, linan122@huawei.com, yukuai3@huawei.com, yi.zhang@huawei.com, houtao1@huawei.com, yangerkun@huawei.com Subject: [PATCH 0/3] raid10 bugfix Date: Mon, 22 May 2023 19:54:46 +0800 Message-Id: <20230522115449.2203939-1-linan666@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CM-TRANSID: gCh0CgBXwLNiWGtk2XrkJw--.28031S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYk7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4 x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1lnxkEFVAIw20F6cxK64vIFxWle2I262IYc4CY 6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr 0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0E wIxGrwACI402YVCY1x02628vn2kIc2xKxwAKzVCY07xG64k0F24l42xK82IYc2Ij64vIr4 1l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK 67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI 8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAv wI8IcIk0rVWrZr1j6s0DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxV AFwI0_Gr1j6F4UJbIYCTnIWIevJa73UjIFyTuYvjxUwc_TUUUUU X-CM-SenderInfo: polqt0awwwqx5xdzvxpfor3voofrz/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766596235887886803?= X-GMAIL-MSGID: =?utf-8?q?1766596235887886803?= From: Li Nan Li Nan (3): md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request md/raid10: fix incorrect done of recovery md/raid10: fix io loss while replacement replace rdev drivers/md/raid10.c | 51 +++++++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 13 deletions(-)