From patchwork Fri May 26 07:45:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Nan X-Patchwork-Id: 9880 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp296136vqr; Fri, 26 May 2023 00:56:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4gPA8IVGKlxePR0heyYBhym5AjjGuiuBWzWRXgGF+72dRIIS2phafX+eB1bS85S0HyD+Ur X-Received: by 2002:a17:902:b596:b0:1af:b678:5166 with SMTP id a22-20020a170902b59600b001afb6785166mr1503233pls.13.1685087799871; Fri, 26 May 2023 00:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685087799; cv=none; d=google.com; s=arc-20160816; b=yM3J3ivO+GLkq5fn6+OzB0RTmx125EdyGSEyA/lTQg5DxJac10NlpO7k6AykzBwZqi +cw9gbilTbBTp/EpoFKbTjmaji+8JMhlgG/KvnerHkhe7culw+iHlxLyF+rBuWiqVBWO NXAQxTR/p0Pk6gjiI+8sXps2JcedLNA4gN8xV8PJHEJIjQzOT09XRSrnmfzGG0X7poww aHnr7nt8xedjUt/eSP/CtpWBq97P52/uzw4mlzS58DoCetZ2KrucIWHr121VNfQHglcR 6CnD9RtSkl9oIStFvUk9Awd3D7wPATuJDsOI6ChZ4eOHR6ERo1ct3t3dNwQzWzGYBwi9 1mZQ== 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=zMtovGR0LLyYWy7sj0xUgP4odWJJ2FDl8QzPLpI9JK4=; b=A2tPGnQPKwN/2HISxsicrsA+qpxpb4Q54CNapFEDAD6Pfrn0nqP5NJJSzHO5WiDDNb LTKICHsEx8/6KyoEfXPCsc4+U73bEbgyS5oBUL63crYdVoxfFV0UWFaZVn9d+M/EDpgD ZxeFBOgnD7dn2+vASFz+V2uQ4vH5972iff0NhXAtXH8s8V+4kegnW4RVrSgc5e7HclxX 4Ky7LcyQE2oowNrbkx8zXaW17JLMI6kQf0Cij0Yvyeuah9GpSGwBJ1FWmEPH7cvJcg8S AGYuQ3WUUXEiuzZYPgVNC6Fa7i5UCq+h19IKdEgcgqiWrqvgaMOgu53BmldkqPVZOcZk R8sA== 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 g12-20020a170902c38c00b001adec0d4391si1177692plg.48.2023.05.26.00.56.25; Fri, 26 May 2023 00:56:39 -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 S242270AbjEZHro (ORCPT + 99 others); Fri, 26 May 2023 03:47:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235695AbjEZHrj (ORCPT ); Fri, 26 May 2023 03:47:39 -0400 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27CD6125; Fri, 26 May 2023 00:47:36 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4QSH835R6vz4f41VZ; Fri, 26 May 2023 15:47:31 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgCX_7INZHBko+n3KA--.7888S4; Fri, 26 May 2023 15:47:32 +0800 (CST) From: linan666@huaweicloud.com To: song@kernel.org, bingjingc@synology.com, allenpeng@synology.com, alexwu@synology.com, shli@fb.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 v2 0/4] raid10 bugfix Date: Fri, 26 May 2023 15:45:47 +0800 Message-Id: <20230526074551.669792-1-linan666@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CM-TRANSID: gCh0CgCX_7INZHBko+n3KA--.7888S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYy7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26w1j6s0DM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4 x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1lnxkEFVAIw20F6cxK64vIFxWle2I262IYc4CY 6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JF 0_Jw1lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0E wIxGrwACI402YVCY1x02628vn2kIc2xKxwAKzVCY07xG64k0F24l42xK82IYc2Ij64vIr4 1l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK 67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI 8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAv wI8IcIk0rVWrZr1j6s0DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxV AFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07Uuq2_UUUUU= 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766942624849054343?= X-GMAIL-MSGID: =?utf-8?q?1766942624849054343?= From: Li Nan 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 | 73 +++++++++++++++++++++++++++++++-------------- 1 file changed, 51 insertions(+), 22 deletions(-)