Message ID | 20231215013931.3329455-1-linan666@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-318-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp8977168dys; Thu, 14 Dec 2023 17:42:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGy7TJMb0AaNNQDu4HWdQGQc4nKOEOKIyfvdJRf4jQQbQKquONeKLPVFcN/m1K09ybjNka1 X-Received: by 2002:a05:6e02:216b:b0:35d:54cc:1df4 with SMTP id s11-20020a056e02216b00b0035d54cc1df4mr14561498ilv.19.1702604543056; Thu, 14 Dec 2023 17:42:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702604543; cv=none; d=google.com; s=arc-20160816; b=pQl8BoBAEfsBVC1Xu7/7JZ8fjPJ+y70nvFQEolyYoz2uXQBwggK1vEzpzxBG1bXvhF rla9Fns4cgTV7dw7PEDz5IqyQKRYGSmlqP4/gQSrgPf6YMZ6F8Xcwry7rCoFVmU6iDqH q08GrNsu6foQq45gneV1iNPtLKgeGwo8uYuv7vzzEdIT1y0AMW7VXcqOUpPMxEbPvVQ8 1nMAWNo11yJ2vT4lJQxlB9TcsrIAnPQSJxz+bowJdEqnk9+PnIHExdfxZ9Qeqkn6kZ43 OkFysjPIt8oO4nZ9m2brU7yLlecxSLpSbdEndkWeqL8bCKbg6yqky1YYuLlk+NLs1+sm FsKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=J9H/b5dGsCUaGlqhhFraJSuoLKjDcNYC/q4U8BBQQJk=; fh=KzMu/56/cZ/XdN+BRAd8A7ip70iszopujqpzmcppc/E=; b=odQWyWkilNEEH5IsjbT30rFnqWrURlYvTOdVTJfwxJdocatu917SxavSOQ84HWCvTH SBnJkobdMFtKYoLlsVkUDPhqzgEHUHiXjCNUdsIAPM3e2huaxfTaG8348QergEgl27Ng NID4/H94Pjj+FyUZPI2R8Qg2x3tiAywUWljSrgZ6BYV1tNJ6iRjvs/noYErfGr3cWJGq IDEhREd+9xCH0vyyOEM7n4SbGCD8IDTnZc6OL56Qys8zxkhP8nEZJd162u21DvGj+ZKC vUxiR0ZQGxNWZaXqOBZ1paklpH97/ALkckbidERKoua910qLaOjJJjxFHoDeLjNCPKZ1 ccAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-318-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-318-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i8-20020a17090332c800b001d3485f631csi4320482plr.305.2023.12.14.17.42.22 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 17:42:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-318-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-318-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-318-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AA432B21FE4 for <ouuuleilei@gmail.com>; Fri, 15 Dec 2023 01:42:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51029468C; Fri, 15 Dec 2023 01:41:21 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D10D9390; Fri, 15 Dec 2023 01:41:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.163.216]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4SrsPZ6qymz4f3k6D; Fri, 15 Dec 2023 09:41:06 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 390171A0A66; Fri, 15 Dec 2023 09:41:08 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP1 (Coremail) with SMTP id cCh0CgD3Rg2yrntlPtG0Dg--.46759S4; Fri, 15 Dec 2023 09:41:08 +0800 (CST) From: linan666@huaweicloud.com To: song@kernel.org, axboe@kernel.dk Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linan666@huaweicloud.com, yukuai3@huawei.com, yi.zhang@huawei.com, houtao1@huawei.com, yangerkun@huawei.com Subject: [PATCH v2 0/2] md: fix is_mddev_idle() Date: Fri, 15 Dec 2023 09:39:29 +0800 Message-Id: <20231215013931.3329455-1-linan666@huaweicloud.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: cCh0CgD3Rg2yrntlPtG0Dg--.46759S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYJ7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87 Iv6xkF7I0E14v26rxl6s0DM2vYz4IE04k24VAvwVAKI4IrM2AIxVAIcxkEcVAq07x20xvE ncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I 8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lF7I2 1c0EjII2zVCS5cI20VAGYxC7M4IIrI8v6xkF7I0E8cxan2IY04v7M4kE6xkIj40Ew7xC0w CF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j 6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64 vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_ Gr1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIx AIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjfUYuc_UUUUU X-CM-SenderInfo: polqt0awwwqx5xdzvxpfor3voofrz/ X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785310261471712092 X-GMAIL-MSGID: 1785310261471712092 |
Series |
md: fix is_mddev_idle()
|
|
Message
Li Nan
Dec. 15, 2023, 1:39 a.m. UTC
From: Li Nan <linan122@huawei.com>
Changes in v2:
- patch 2, fix typo error.
Li Nan (2):
md: Fix overflow in is_mddev_idle
md: don't account sync_io if iostats of the disk is disabled
drivers/md/md.h | 7 ++++---
include/linux/blkdev.h | 2 +-
drivers/md/md.c | 11 ++++++++---
3 files changed, 13 insertions(+), 7 deletions(-)