Message ID | 20230527072218.2365857-1-linan666@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp193495vqr; Sat, 27 May 2023 01:00:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6pO5Qg8HyJFHo/MM+uMlrWieWfmpW9A7UkGgnQfHWWZyuJRzH6xhUSCQhjso6zwxS+/FyV X-Received: by 2002:a17:903:22c9:b0:1b0:1fd:c231 with SMTP id y9-20020a17090322c900b001b001fdc231mr6983810plg.38.1685174413204; Sat, 27 May 2023 01:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685174413; cv=none; d=google.com; s=arc-20160816; b=YN9YnrqzU8jrgW3gptRzdERHxzcc0pbi5xbNFDB0BXGi92NFDpoNaj6B8mEwz1XpMN Lhogo21lrNCcy9TffCeNPcyNNS6ARSlxGvHt0PKr/GZFuJn0qly6OOS0YVduVPTetLMM mmwVOQSxMlHF1HMVxU0nvU7IFY20WfSJU1qUyAQVdbR8df+C9OG7VTzPCwuMLnSAtjiD bxi6btr6UEQRoDnp8mhSwu1vb8fm9R9LqkGZCXD2ntIfbcRzJXrQYm72A5c7tFl3XzaK d9+kg8IuPSGdpr6MQFoNjULbe/JR0Qy1xLMUWF4Hs5MiHaY2NQk9ZiDCRTns64aypKfA Wp3A== 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=WlNvdFgVOsvE7Gc80084L6H9Z8N3cWN06vAB/EcEHjM=; b=ZbnB5iBtsXwtmBdGj54QS56G8QTz2nIW9bBYR4ehiqqg0EXSKWKxsWfZa1pLf6JvuE 8xW7uPASxpfcNmhWPcUdQN8QiJGVUACQfkQM8JPleLw2p4Ztc+KuS+gU7OCSd2MHQFBy 8JxTKNMCpupaLoZmWCdxh9LOH1MBgD/mbPdjMd88LWvzMayromVMCwuDfmI1OnAmUtoF +0CPERlME1DHhFhc5Cd7hrgyH++8Xo9jZq1DUJqx0+Zuqcy31bYD5hkDQ7FqzTZX6/ah FiyS1XSRqQYlfYX+iPnIsT95nJskCLfdCUR9GP6cFo1mUFWXS6zARvWsT6lDw3pLKpHi WZYg== 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 b3-20020a170902d50300b001a9265e6fdasi6367272plg.268.2023.05.27.01.00.01; Sat, 27 May 2023 01:00:13 -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 S232498AbjE0Hlt (ORCPT <rfc822;zhanglyra.2023@gmail.com> + 99 others); Sat, 27 May 2023 03:41:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232077AbjE0Hlk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 27 May 2023 03:41:40 -0400 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82153A3; Sat, 27 May 2023 00:41:38 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4QStZM5Dy8z4f3w0H; Sat, 27 May 2023 15:23:55 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgD3rLAKsHFk67lAKQ--.30654S4; Sat, 27 May 2023 15:23:56 +0800 (CST) From: linan666@huaweicloud.com To: song@kernel.org, bingjingc@synology.com, allenpeng@synology.com, shli@fb.com, alexwu@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 v3 0/4] raid10 bugfix Date: Sat, 27 May 2023 15:22:14 +0800 Message-Id: <20230527072218.2365857-1-linan666@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgD3rLAKsHFk67lAKQ--.30654S4 X-Coremail-Antispam: 1UD129KBjvdXoWrurWUGry3XFWDtw4xur1xZrb_yoWxKrbEga 4DAa45tryxtF43Za4DJr17Xa4UuF4qgr9rJFyDKrWUA3WUWr12qFW5JrWxZw45WF9Fvr1v qrnYkryxAFnFvjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUba8YFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I 0E14v26rxl6s0DM2vYz4IE04k24VAvwVAKI4IrM2AIxVAIcxkEcVAq07x20xvEncxIr21l 5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67 AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lFIxGxcIEc7Cj xVA2Y2ka0xkIwI1lw4CEc2x0rVAKj4xxMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4 AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE 17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMI IF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY6xAIw20EY4v20xvaj40_WFyUJVCq 3wCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r4UJVWxJrUvcS sGvfC2KfnxnUUI43ZEXa7IU1kpnJUUUUU== X-CM-SenderInfo: polqt0awwwqx5xdzvxpfor3voofrz/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767033445404308906?= X-GMAIL-MSGID: =?utf-8?q?1767033445404308906?= |
Series | raid10 bugfix | |
Message
Li Nan
May 27, 2023, 7:22 a.m. UTC
From: Li Nan <linan122@huawei.com>
Changes in v3:
- in patch 1, change check 'mreplace != NULL' to 'mreplace', improve log.
- in patch 2, change check 'mrdev != NULL' to 'mrdev'.
Changes in v2:
- add patch "md/raid10: improve code of mrdev in raid10_sync_request".
- in patch 3, break lines longer than 80 columns and improve log.
Li Nan (4):
md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
md/raid10: improve code of mrdev in raid10_sync_request
md/raid10: fix incorrect done of recovery
md/raid10: fix io loss while replacement replace rdev
drivers/md/raid10.c | 75 ++++++++++++++++++++++++++++++---------------
1 file changed, 51 insertions(+), 24 deletions(-)