Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9656019rwr; Thu, 11 May 2023 19:22:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QaVq8lw02RKL/nhr1yWO4Le5REIWvhmzOkfvltisOHnvQA2JufC8RWN8/vCO6F/ddue7X X-Received: by 2002:a05:6a20:3d26:b0:101:69ad:e488 with SMTP id y38-20020a056a203d2600b0010169ade488mr14939396pzi.29.1683858165177; Thu, 11 May 2023 19:22:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683858165; cv=none; d=google.com; s=arc-20160816; b=CjLFhm/IGBdMB9mnInEemhvuKsuRB+5mosWkwcGqmDzhQ2fUBQ6iH+8IRNoFAtBDFy sDckuYFxtOwNyoJ/Mt6on0T26BB4bET2ALhfQVcMTtZ53/d1zGNIhUesMv6cX2f5dATt KDKU7jsPhasf7UMi5FAa1Jnri1cAEpwRiukkicMWLz6WPqZGP3SoMgY3Mv2Hqhn4SObb dKbL5BQNU+ZABstDlwJzYTc4+NHJyrP5QMCWE+vRbEV1mnAUxxq9CULRIpXwr3rIY2PZ ns0kfH2ET8KasP3/UtR/wK8d8x2jGQE1tQQP5qZtk9SaTer4pD4gPhmptlgwnzz8F7oM i7Kw== 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=Jx7EzrNQndXqwknmx9N7UtTxXh0Y88iFcw+U5TTk4W4=; b=FqdGrJJS+Wh1tWaSTzRGwoi33GfkVHpc+XGnqWHC971rncswkUNKPbj0MtDRyGgkXs vEMDVt67YRyADvpR3p6+nOX9yMHLTBfKXQM10qXK1QuK8ixNJqPtqlCRPVroKBgyVjyA HJr5rwngnnj98HQTXpTWtXuy/JfLeGjdGPyfzuWYES0TDJ2l40Bzg3wSTd7ke0y/v7t5 qxxEasCp1zm6UOv2OOGyvj9tpVtXg7MrghxAzvvWdhws2GuStVhdK71uPU3f8EW0Rvy4 vJwQDKs1l1V53BGdHrInWpNNxCuaoqMV6eWz26j95yO6BiTwG1m901eFC+sdZsrpX5jt f5Rw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a17090a604f00b0024e01bbc607si26770239pjm.50.2023.05.11.19.22.33; Thu, 11 May 2023 19:22:45 -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 S239762AbjELB67 (ORCPT + 99 others); Thu, 11 May 2023 21:58:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbjELB64 (ORCPT ); Thu, 11 May 2023 21:58:56 -0400 Received: from dggsgout12.his.huawei.com (dggsgout12.his.huawei.com [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66CDE55BA; Thu, 11 May 2023 18:58:53 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4QHX4844l0z4f3jHZ; Fri, 12 May 2023 09:58:48 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP4 (Coremail) with SMTP id gCh0CgBnHbFYnV1kbjQOJQ--.16243S4; Fri, 12 May 2023 09:58:50 +0800 (CST) From: Yu Kuai To: logang@deltatee.com, reddunur@online.de, jovetoo@gmail.com, dgilmour76@gmail.com, song@kernel.org Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai3@huawei.com, yukuai1@huaweicloud.com, yi.zhang@huawei.com, yangerkun@huawei.com Subject: [PATCH -next 0/5] md/raid5: fix several reported bugs Date: Fri, 12 May 2023 09:56:05 +0800 Message-Id: <20230512015610.821290-1-yukuai1@huaweicloud.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgBnHbFYnV1kbjQOJQ--.16243S4 X-Coremail-Antispam: 1UD129KBjvdXoW7Xr1fKFyUJw4DZF47JrWkJFb_yoW3trXEqF y8JasxJr1UGas5GFy5Jrs7XryxWw4UWryUXa4UKrW3ArnxJF4DGF1UZw4fXr4xXF1UKry5 Jr1jqry8ArnI9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbxkFF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j 6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oV Cq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwACI402YVCY1x02628v n2kIc2xKxwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F4 0E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFyl IxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxV AFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_ Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7VUb XdbUUUUUU== X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ 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 From: Yu Kuai patch 1 fix that array can't assemble if replacement is set while reshape is still in progress. patch 2 fix data corruption while echo reshape to sync_action patch 3-5 fix a deadlock for assemble while reboot from growing Yu Kuai (5): md/raid5: don't allow replacement while reshape is not done md: fix data corruption for raid456 when reshape restart while grow up md: export md_is_rdwr() and is_md_suspended() md: add a new api prepare_suspend() in md_personality md/raid5: fix a deadlock in the case that reshape is interrupted drivers/md/md.c | 35 +++++++++++++++++------------------ drivers/md/md.h | 18 ++++++++++++++++++ drivers/md/raid5.c | 45 ++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 79 insertions(+), 19 deletions(-) -- 2.39.2