Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06F63C6FA99 for ; Fri, 10 Mar 2023 07:40:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229776AbjCJHk0 (ORCPT ); Fri, 10 Mar 2023 02:40:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjCJHjt (ORCPT ); Fri, 10 Mar 2023 02:39:49 -0500 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56111F8656; Thu, 9 Mar 2023 23:39:38 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.169]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4PXycN2cnDz4f3nTN; Fri, 10 Mar 2023 15:39:32 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP3 (Coremail) with SMTP id _Ch0CgDn4R+03gpkwSimEg--.34063S4; Fri, 10 Mar 2023 15:39:33 +0800 (CST) From: Yu Kuai To: guoqing.jiang@linux.dev, song@kernel.org, jgq516@gmail.com, neilb@suse.de, shli@fb.com, lzhong@suse.com 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 v2 0/6] md/raid10: several simple obvious bugfix Date: Fri, 10 Mar 2023 15:38:49 +0800 Message-Id: <20230310073855.1337560-1-yukuai1@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _Ch0CgDn4R+03gpkwSimEg--.34063S4 X-Coremail-Antispam: 1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-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yu Kuai We're running many tests for raid10 currently, and we found a lot of problems already. This patchset is the first part for some simple and obvious problems. Most of the patches were sent separately already, but I think a patchset is better for review. Yu Kuai (6): md/raid10: don't call bio_start_io_acct twice for bio which experienced read error md: fix soft lockup in status_resync md/raid10: don't BUG_ON() in raise_barrier() md/radi10: fix leak of 'r10bio->remaining' for recovery md/raid10: fix memleak for 'conf->bio_split' md/raid10: fix memleak of md thread drivers/md/md.c | 18 +++++------ drivers/md/raid10.c | 78 +++++++++++++++++++++++---------------------- 2 files changed, 49 insertions(+), 47 deletions(-) -- 2.31.1