Message ID | 20230506012315.3370489-1-linan666@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp800956vqo; Fri, 5 May 2023 18:49:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4f/8kgpXOa/v4WgSBHbTYpgCdqzEUJYfzpjphx6DsmT//X9/IbraI3L5+EEa3eYOc4g0NE X-Received: by 2002:a05:6a20:258a:b0:f0:65fb:6cec with SMTP id k10-20020a056a20258a00b000f065fb6cecmr5224281pzd.8.1683337755092; Fri, 05 May 2023 18:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683337755; cv=none; d=google.com; s=arc-20160816; b=kIqnTpe11ddhh6bHUwXSOEyb/2ue5WVvBOl5PHj0EXTZ0GAK7Y2STG1umPK4Zj0lQH K8y7cOvgAeZI/H/vt8kjA5SZmgzrbY/56ZG91bjEAup6InTT9AIikmDe5AenzYekPuGS QjigtadDcOfktHDZatz5myKM7+xgGsIyVenUnJ3IiRXeKuCMqbUwHIoszbPNATLInbm0 5dF6WbkGvfRfP2sWqqqelJ+vd4XV/M/SQv/PBskrQN1EuAFOojw8JYTI+SZd9iO7tUzY mdE3gWKvWbMjvvIuJzxwVIwNkdLvwgc5qqJ9z5nXcSZnFuJUI4i7mn/gnaW98qnXETB1 vFAg== 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=WeGe4gEGCMo7VCwo3nCEWtLjqemARLlQqINGt4zX31Q=; b=lRA4wBVEzW4mGnSeMLJ0nwdvF1O4kVbi0HDgAltvpWgqrEMe+4bdgPBehi139EISGO dWMIlTcyn4l1fQOyVV4Hus0LNt6ZL2F/aMUj02wlE7h4D3uXsnFn4tZ/yjS1YgYpu+3/ 2JHhAfNEaldUQSn5o2XsQ29hejpsMIQkTEPrUEvaL0GTfo8pO42qlkDqlnT89JrYpWwe Ffe0lXNQsYAWIfilaJv28EoQ6WnJzkVoBViYvO63ABoDyxlWmpZ24AWaKKCRKbZ9edEk AQKEcxX8jDVy4WGhegBgVs1PvzysZkHompRFVHxHgSftTUkzKpldqbV9oMUH9OoQnvwO pTnw== 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 e1-20020a636901000000b005004b2acf6dsi3015119pgc.810.2023.05.05.18.48.59; Fri, 05 May 2023 18:49:15 -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 S231567AbjEFBYc (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Fri, 5 May 2023 21:24:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230033AbjEFBY2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 5 May 2023 21:24:28 -0400 Received: from dggsgout12.his.huawei.com (unknown [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C6296EBF; Fri, 5 May 2023 18:24:27 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4QCqbB4xQ5z4f3nRc; Sat, 6 May 2023 09:24:22 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgD3X7NHrFVkfh1lIw--.56086S4; Sat, 06 May 2023 09:24:24 +0800 (CST) From: linan666@huaweicloud.com To: song@kernel.org, neilb@suse.de, Rob.Becker@riverbed.com 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] md: bugfix of writing raid sysfs Date: Sat, 6 May 2023 09:23:11 +0800 Message-Id: <20230506012315.3370489-1-linan666@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgD3X7NHrFVkfh1lIw--.56086S4 X-Coremail-Antispam: 1UD129KBjvdXoW7Gr4kZF1DAF1kKF4rJw1xAFb_yoW3GFX_tF W0qFy5tr1xXFy3JasrWrn8ArWUAa1UWwnrJanrtF47Zr13Z34ktr18Ars5Xr4rXrZ2vF15 Jr1xJr18Ar1vyjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb3kYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28CjxkF64kEwV A0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x02 67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87Iv6xkF7I 0E14v26rxl6s0DM2vYz4IE04k24VAvwVAKI4IrM2AIxVAIcxkEcVAq07x20xvEncxIr21l 5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67 AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lFIxGxcIEc7Cj xVA2Y2ka0xkIwI1lw4CEc2x0rVAKj4xxMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4 AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE 17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMI IF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_WFyUJVCq 3wCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIda VFxhVjvjDU0xZFpf9x07UpSoXUUUUU= 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_PASS,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?1765107569538683350?= X-GMAIL-MSGID: =?utf-8?q?1765107569538683350?= |
Series | md: bugfix of writing raid sysfs | |
Message
Li Nan
May 6, 2023, 1:23 a.m. UTC
From: Li Nan <linan122@huawei.com>
The patch series fix the bug of writing raid sysfs.
Changes in v2:
- add patch "md/raid10: optimize check_decay_read_errors()".
- in patch 2, return ret-value of strict_strtoul_scaled if error occurs.
- in patch 3, optimize format.
Li Nan (4):
md/raid10: fix slab-out-of-bounds in md_bitmap_get_counter
md/raid10: fix overflow in safe_delay_store
md/raid10: fix wrong setting of max_corr_read_errors
md/raid10: optimize check_decay_read_errors()
drivers/md/md-bitmap.c | 2 ++
drivers/md/md.c | 72 +++++++++++++++++++++++++++---------------
drivers/md/raid10.c | 65 ++++++++++++++++++++------------------
3 files changed, 84 insertions(+), 55 deletions(-)