From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sg-1-19.ptr.blmpb.com (sg-1-19.ptr.blmpb.com [118.26.132.19]) (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 973AC1F0E34 for ; Sat, 15 Nov 2025 15:53:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=118.26.132.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763222037; cv=none; b=KJSTOywRFRprJRjfAj9A765o4HIiFHWum6dGaeShe4YqNkISijrj7iN7/EKhGBoZSF2Mk7/nr9ISJ2bj2/W6zt4JcNaVQvvvntCNPzYWpQIej8egJvvudouGU1B44r7SIy7vduxfv7ApwN7DUej3/02O+oUF/SEox5ZeQWekzs8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763222037; c=relaxed/simple; bh=8adI+e5YLCmDbskIfTR944x+Mj4gGEug5GGgWim+XFE=; h=References:Date:Content-Type:From:Mime-Version:In-Reply-To:To:Cc: Subject:Message-Id; b=GzFhxaYMonv/uzrJNo6XSAlXNkkrKb3C7uWQUaXS1UHoskGLoWcORkWbZM/D8ZZMTzscDyEzG+y9Uy6vGROdwTib18RAYFV7wU4vSw6Z22ov+X6joXvtXcewvGEdcpznv2+MugKr4OQm8iuBLqALmyha0B+mDddJEqcYJ5UkLDc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com; spf=none smtp.mailfrom=fnnas.com; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b=3+10FsmF; arc=none smtp.client-ip=118.26.132.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=fnnas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b="3+10FsmF" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fnnas-com.20200927.dkim.feishu.cn; t=1763222020; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=rn1YfrUUtpK18D8e9dNkroJv5PhCwNNCz3WtSyxT9Hk=; b=3+10FsmFiuc6fWwRWpii9+q2S5R4uVAzsE20nvPtGWtiHhIOB4xCqM+b1m/ZyOp4j+N+Ee 0aUxJ2Z+AS+U/2CI4a9nnMQsbMxHTPosYDXRcdK2oZ/kYHsETzaUVwloZJLSkT1l3jmUng 91r/u/ITRHzZqpZZ0HaUgAbYlvlBulV4P/qnfTsX9GeTPRHUWRUdB3lp6I98QWo9Zx7ahH GyOa6nHe4lU7jTjWGodLKSzt67YqF25d62I7py104Tv+YMt/gIen4GeV48x56FHw0wBJqy xQXPEBuIF8a461Pf0yf5rr8hPJB0i/82RIqXZrdPNHT9xUPvte3wMkdQojha/A== References: <20251114235434.2168072-1-khazhy@google.com> <20251114235434.2168072-3-khazhy@google.com> X-Lms-Return-Path: Content-Transfer-Encoding: quoted-printable Date: Sat, 15 Nov 2025 23:53:35 +0800 Content-Type: text/plain; charset=UTF-8 X-Original-From: Yu Kuai From: "Yu Kuai" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 User-Agent: Mozilla Thunderbird In-Reply-To: <20251114235434.2168072-3-khazhy@google.com> Reply-To: yukuai@fnnas.com To: "Khazhismel Kumykov" , "Tejun Heo" , "Josef Bacik" , "Jens Axboe" Cc: , , , "Guenter Roeck" , "Yu Kuai" , "Khazhismel Kumykov" Content-Language: en-US Subject: Re: [PATCH v2 2/3] block/blk-throttle: drop unneeded blk_stat_enable_accounting Message-Id: <96c6e645-6378-47b5-bdca-25900a1b60d0@fnnas.com> Received: from [192.168.1.104] ([39.182.0.135]) by smtp.feishu.cn with ESMTPS; Sat, 15 Nov 2025 23:53:37 +0800 =E5=9C=A8 2025/11/15 7:54, Khazhismel Kumykov =E5=86=99=E9=81=93: > From: Guenter Roeck > > After the removal of CONFIG_BLK_DEV_THROTTLING_LOW, it is no longer > necessary to enable block accounting, so remove the call to > blk_stat_enable_accounting(). With that, the track_bio_latency variable > is no longer used and can be deleted from struct throtl_data. Also, > including blk-stat.h is no longer necessary. > > Fixes: bf20ab538c81 ("blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOW"= ) > Cc: Yu Kuai > Cc: Tejun Heo > Signed-off-by: Guenter Roeck > Signed-off-by: Khazhismel Kumykov > --- > block/blk-throttle.c | 6 ------ > 1 file changed, 6 deletions(-) LGTM Reviewed-by: Yu Kuai --=20 Thanks Kuai