From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sg-1-14.ptr.blmpb.com (sg-1-14.ptr.blmpb.com [118.26.132.14]) (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 E46F42737E3 for ; Sat, 15 Nov 2025 15:56:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=118.26.132.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763222205; cv=none; b=pziOBKY0AaoPP/nqxdygXvHw+IEZtUge04dMAEmSSvTHIP220xqhPiD1wx8zzspydMH8w89B6hlfl0zlGrGLjowlZ2XFGJtastEl+XK8i3ZmHyEB0IU/ZJCwWlu7JbAn6czdgibRvewPucNpRsAiDQs1MgqEaSgfXQWvkq+Ftpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763222205; c=relaxed/simple; bh=8oG2jvXcoSQgG6l+ycl3M4S6AsZENjJLPQUkE+b2cOg=; h=Cc:References:In-Reply-To:To:From:Subject:Content-Type:Date: Message-Id:Mime-Version; b=qzTr5T6LnTYCjwyZHKXLDHvdQ2z6eywyYxH7W3h5l7qY9zo+d9Da9hN+zrwPFQDg12vkdveVU7kZGrK4C2ZWB21VBQ5uBAzqbYT14ANN5r/nJLnPT925tvrAUTVRWY2I7D9BKKJKctddXTsQslFZuZBVgnlveBH/+PFuUrUUObw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com; spf=fail 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=HkTsJIRv; arc=none smtp.client-ip=118.26.132.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com Authentication-Results: smtp.subspace.kernel.org; spf=fail 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="HkTsJIRv" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fnnas-com.20200927.dkim.feishu.cn; t=1763222192; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=XEKTOtTM0l3ze9zn+ntcfJAG62DORfYVvOb51c12gC0=; b=HkTsJIRvPoRIGXPt3Wt5GUSCoGa5mCIXk1ZA3Qu12W7cemmH6xVQ44L+0pCj1VTDEMOzNp hTjt8miLdfdQ+I3xXqlHBTpZsLIN2RNKTtB/+lwEUzcd5RyEOFOJH5IR6wtbveUxGyx1xg JYrO5BjAOnUZdSwaiq27mY+3pM34lg7b6ce/MfqGz01ix+0cDRS4qq7RO4VwhzGsUoATFK ADW0MgieIXVPt/7+ebtTmLmQK2o3XkvD3ev+rxa3C9VU3ychK9CLcpbQ7zvJk9p8IujytE SbomkKCxhkqoKgWUstWbMtmJE9B0XZBBpdIifjgWHHvOkVsnhGd3CR4J9NBbag== Content-Transfer-Encoding: quoted-printable Reply-To: yukuai@fnnas.com X-Original-From: Yu Kuai X-Lms-Return-Path: Cc: , , , "Guenter Roeck" , "Yu Kuai" , "Khazhismel Kumykov" User-Agent: Mozilla Thunderbird References: <20251114235434.2168072-1-khazhy@google.com> <20251114235434.2168072-4-khazhy@google.com> In-Reply-To: <20251114235434.2168072-4-khazhy@google.com> To: "Khazhismel Kumykov" , "Tejun Heo" , "Josef Bacik" , "Jens Axboe" From: "Yu Kuai" Subject: Re: [PATCH v2 3/3] block/blk-throttle: Remove throtl_slice from struct throtl_data Content-Language: en-US Received: from [192.168.1.104] ([39.182.0.135]) by smtp.feishu.cn with ESMTPS; Sat, 15 Nov 2025 23:56:29 +0800 Content-Type: text/plain; charset=UTF-8 Date: Sat, 15 Nov 2025 23:56:28 +0800 Message-Id: <077953d4-8f21-4203-9f85-21e8977f1298@fnnas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 =E5=9C=A8 2025/11/15 7:54, Khazhismel Kumykov =E5=86=99=E9=81=93: > From: Guenter Roeck > > throtl_slice is now a constant. Remove the variable and use the constant > directly where needed. > > Cc: Yu Kuai > Cc: Tejun Heo > Signed-off-by: Guenter Roeck > Signed-off-by: Khazhismel Kumykov > --- > block/blk-throttle.c | 32 +++++++++++++------------------- > 1 file changed, 13 insertions(+), 19 deletions(-) LGTM Reviewed-by: Yu Kuai --=20 Thanks Kuai