Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1181102lqo; Thu, 9 May 2024 07:03:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSlOHj6/lniJ5AqnCrrgqvsfM3jErpquASuKOchVnKlbih8T2jP+rNDEFaaE+v5qf51hZD3qXgeZSmuNdsHm6rJbhdCf7dGQddHGHCog== X-Google-Smtp-Source: AGHT+IF+uvAcgt5kwtzGoYQw51cqbcsRgwji/44uxrObTxvlSib/YEpUo9W8cR+age3oa7BrK0UD X-Received: by 2002:a05:6870:328f:b0:22e:b96a:375 with SMTP id 586e51a60fabf-2409806f5ccmr5928679fac.30.1715263390612; Thu, 09 May 2024 07:03:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715263390; cv=pass; d=google.com; s=arc-20160816; b=lPbf3bq7wiqR6D4E8KqjTYC4VlibEtL8uNMjvLG+v8vfF0RnSl768G+PpIm75J7PTC 83Pp0p1QLzEGfAQI/kwfXuZgbwLHZv2HZMNr1yCdqWS1IrmHgF4uC2i4SFX5J/VnhDki 0sLxFLJGaoqKdHtR3IvbBepHhPWApx2WmIpJJMTB16Wr0mHc/THKgUNPNW7PYUDOUkuE fftlL7Jv57lPRs7UIA8+QMow3iUe0ymzP8SaCmOt6I1txxBeBJ09Q0tjMKpVEYtl/t+L 8XUjIZcT9tQiVvGHcx2DAcRa2Ym0eNpf5LSXwd63mwnQ4X2TZ3JHLO+ZZfirimgEmj5G K1Vg== ARC-Message-Signature: i=2; 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:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=+TA/edpRJXMeLEprDOn75xEWqfIhyfxD+4NC6q2mBXw=; fh=ylCWViATg4yDKbe9W2KkLuRWNEsxvvArSxQzkVD1jrs=; b=dOtEcwt9rajlNcVv2tx1tBgLlki/J2M61lE6CPJUS89fuLkZZGOVdXue69c2C6Zen2 dxYCIUSQaqc7FvSCp9RjGzijRgRWC2rEQE/Y4KlJGfJLfhUwj8S2nGyR3mfEVLLlxhYR hdZQbEDafKdGAOVPtSU6cgP9uvaHL1Wb8I4UNusw0gwyiLD4/bKlOjvTvcQk7oEHm9Ei QH7cB4BqffFOfORMDO4Xe3wzckNGpAp3vebhbvQH+Mu/HoL+Q2wdYEr+8jlmqMUnczIQ TpsCJNDCHxm8FInAfzXlnRlwcFhzNTlmuhZ3q85iJE2evEFHknwzyVpwfQfLzuwX7WW9 im4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=muU3qvzm; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-174563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174563-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a1e0cc1a2514c-7f9000e4f83si199228241.176.2024.05.09.07.03.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 07:03:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=muU3qvzm; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-174563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174563-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4FCFF1C219DC for ; Thu, 9 May 2024 14:03:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C725915E5C9; Thu, 9 May 2024 14:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="muU3qvzm" Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76AAE15B98B for ; Thu, 9 May 2024 14:02:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715263379; cv=none; b=ShPBzhm+VQNTC7Zpohc5TZFf9AOD5yQnUVBg50nnigmXjLb3+6dHYGqCADeI7CDGu6vveZQwMlJxlVq4i+0DkPSNdg88a9aOpNL9lP3Hsg04jM9PXL9kyRrzZqXIDCjGCpNJHTmvL2Si2PXgh+Y0sxonWFxO51+bL7z4lHxGHek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715263379; c=relaxed/simple; bh=av1zIpw3rn8LqXzh68+trwgf6saFpEfQEGO/uFLFw/c=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=un9deHwm+nE5v753s5H0EVc5Ykrs9AGvUTyUqtxXikQvhHqho52G3fYXAND207l2QTc/s6H03cOsTBgUp+zMaSpt6MWr3JmGn8K1hmDStvm+81cL2Y4OKxm+rO6lsIbx4LNY0yfTjqPOGqG6TySdjJiJx+Mh+dFycpv83tU0kjI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=muU3qvzm; arc=none smtp.client-ip=209.85.166.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Received: by mail-io1-f53.google.com with SMTP id ca18e2360f4ac-7e186367651so8189139f.1 for ; Thu, 09 May 2024 07:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1715263376; x=1715868176; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+TA/edpRJXMeLEprDOn75xEWqfIhyfxD+4NC6q2mBXw=; b=muU3qvzmsgIdhUWNj0SdgSlNjIKWgXrmpd84+Feww8D9F2ImLN0Fm2xZEpVslhN1ng 5jjJqIlTnuoMUqPSdNq4EHNBSyeUhUVkoj8iBNIdzCLAm4XzFWaQzddUyXZ6e3g0YhCu xL4uJNH7eBNxa0aefPciHtH0jkLKU92TnCm+YDXeZyYMq5PGbJAeW89K4Lki+wxz2ayU 1TAcUtx51ZYh9EjWvPmi+c+p6Gw0JotNibXsCG6z98kFRK8Dtnq2iU4FB/u+rJJWys8G +/krVFeExgm7MQwBZHnNn0UhwFP+YYqhZ77nJaavsyqWy6uOps6BzxFkjvZqBv7vhqbc 3YMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715263376; x=1715868176; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+TA/edpRJXMeLEprDOn75xEWqfIhyfxD+4NC6q2mBXw=; b=SXCoirdhpcj5m9RcZ9ILXb7mlP4oj5RpvZQouABK/QJ4yxpumAd9IJy6Bain0N8iF0 NCj94SnCVn4yOYqzU4wuDCXsCVMLNfJQ/ix2HuygoGc05zvoLhz6QC/aNzJyk9/JTTTy onuB9CJsUe+EfErHeznLRCumMGQ88UHnpXwXqPJ2pDJgqjopTIGg/nX+9/n//0Y/UQpL 8wv+M9VIYaK7nlNo6zRtNw3h3WLse8pMzhrphP4ytLrZjn8l5O26pQ2m1mfjm4PGVZAT zFZDmIq+7wOwbAul7jnvBrHItrr+L/NMUls87kAqt4a8D5cIfyAw8fCABRSdzGUx5sGZ ABjA== X-Forwarded-Encrypted: i=1; AJvYcCVmb4cAszpkZxyn0Vg5G6x9VhipxolSCS7ImDNnEsr0ZxDwQYL/ZTyTTGG/X4NJ42nQaf6yxduM0EP7uwBYGF7LcXbdwY+zlReFOI4I X-Gm-Message-State: AOJu0Yy7WKkkHvwwNkhrPv/NtS5nSRtqFiQjo3/DUACM8V9Evw/xHOfN +8hG9qXnq+azv7nN7mQLJcWG0w3oe/xqCuiFDh4IpGU9/S8Xiwi4njQxFyr4HqPuEWysJu1yrzb J X-Received: by 2002:a5d:9c17:0:b0:7e1:8bc8:8228 with SMTP id ca18e2360f4ac-7e18fbcc8f1mr607300839f.0.1715263375731; Thu, 09 May 2024 07:02:55 -0700 (PDT) Received: from [127.0.0.1] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-489376fb1f1sm371961173.163.2024.05.09.07.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 07:02:55 -0700 (PDT) From: Jens Axboe To: ming.lei@redhat.com, hch@infradead.org, mpatocka@redhat.com, snitzer@redhat.com, Yu Kuai Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai3@huawei.com, yi.zhang@huawei.com, yangerkun@huawei.com In-Reply-To: <20240509123717.3223892-1-yukuai1@huaweicloud.com> References: <20240509123717.3223892-1-yukuai1@huaweicloud.com> Subject: Re: [PATCH v2 for-6.10/block 0/2] block: fix user-aware inaccurate util Message-Id: <171526337498.20280.13592590390769873653.b4-ty@kernel.dk> Date: Thu, 09 May 2024 08:02:54 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.5-dev-2aabd On Thu, 09 May 2024 20:37:15 +0800, Yu Kuai wrote: > Changes in v2: > - just replace blk_mq_in_flight() with part_in_flight() for > diskstats_show() and part_stat_show() in patch 2; > > Yu Kuai (2): > block: support to account io_ticks precisely > block: fix that util can be greater than 100% > > [...] Applied, thanks! [1/2] block: support to account io_ticks precisely commit: 99dc422335d8b2bd4d105797241d3e715bae90e9 [2/2] block: fix that util can be greater than 100% commit: 7be835694daebbb4adffbc461519081aa0cf28e1 Best regards, -- Jens Axboe