Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp117188lqq; Wed, 12 Jun 2024 19:27:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8oIYKb2C5ToWYDfGlR7fs19HZa5kqwJhcluRbv5FHd5RzN3LS0U6irq6QWSoFD9ALqcm32SrUl8O/vPbHzf4Dn1F25oSwliiZyFzmHQ== X-Google-Smtp-Source: AGHT+IHsNgoa3iSjJVI9vRb++TbOrOwo+s1YuSzUM2DX28K6UKRperutXa6i7Ley5hEq6en0tbV3 X-Received: by 2002:a2e:90d9:0:b0:2eb:db67:6101 with SMTP id 38308e7fff4ca-2ebfc90518fmr27790781fa.13.1718245619911; Wed, 12 Jun 2024 19:26:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718245619; cv=pass; d=google.com; s=arc-20160816; b=VqFqHZ3sCyGHgGvDl+tVee8YQ+4bZ+75iNQZ5OKHbxUPMLkXexhaqkxO4S9xgqHJiQ x/f0JJPnqj3d1fByT7dgm1ei+7cu0QBmkb0WW9k/Vecp3RvxPjoue2tAM1iEE8zrjqGc DaDBdLqQaHxLIVlAHEBTIofUTjXjo7CzkXMY3fF9uKFPFm81Eff5sAoSumD/IHRCxq8p o9ZXIds4qPXA+mHdsurgG2EsHO0YuIRKNf00tbB3uCD41O38VAG99XbbwucyPT4YmfNc KfnC3UPu0ZLKTzyUA8fWddaEvnFRqHNBJiF7vcckMUzFulID8yMyDm5Lvm4PNNrECwJU 4MDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:date:message-id:from :references:cc:to:subject; bh=dkiioRMRaW6n14DfcRdQO941Tdh7ezfWjg/Ae1DbZ2w=; fh=JV2pwGPo+/gQt/QOYjSkqb9Eb2CISOSxxBROipdl7vY=; b=ILqay21p8/z0nJomo8/i9NwlDF3gXn36leyFBgaHiPxp4JHtjMQPy/gBHfIa6PIPfO WTh1z/S5KfBbF8dSC1XWCw2tgP14fPk/vvJ3M4JoREL4OPYRx4i4jD2ocBFqkivF5xW2 7hoSOtKewsYFs7qwMXTz6sRaNnxaCZGuYhrkwZDL5zHX2wY3fPvAB55hlzC097DxW4Ha MGnpyp2w3uT5JdbuLetVyTYTh0RM9D5KzRYYH3CIzwuZ5qjjI3Tfu+VrRlKS0MHFX8RN 8TZXXmStrTsvN0ThpJQBNPXCGXWbzAVenuu18L0y68+DQjMKbpBOqt2DX0ouA5XI0JaD 9Y7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-212492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212492-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57cb745d9a4si207356a12.517.2024.06.12.19.26.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 19:26:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-212492-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212492-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 990971F2238D for ; Thu, 13 Jun 2024 02:26:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 627A477105; Thu, 13 Jun 2024 02:26:48 +0000 (UTC) Received: from dggsgout11.his.huawei.com (unknown [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 B7AF079DF; Thu, 13 Jun 2024 02:26:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718245607; cv=none; b=nWBqfHG2QWn2ibqV44auRr3BFBs4SysjuRPVUt150YQUR4JRMPvuwXSun1LbctpT3wQAgNNbgy8dxXaubvc8F+4b6mrbcnfIQGiTwCSABoAwYU2jfDzLLsYt1+9RHk9fBoYOKaN3qyaduqkCxto4fbgi4X+jr7TBne1osD08XK4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718245607; c=relaxed/simple; bh=XVKzIgQldcQZP8lOvxR7rgnAfrstyghUmHfGbEbgoXU=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=r7IUGiiuJoZbKEWiqq9bTxXd+AWju4hfwXS/Tu/sMKRbpgEURLaicGQ0nFIi/k7h3Wn9r6vZVt1h3UTCe3x/57GtEMjPDQHYIYQTmxgb2L1klmoR+BpuWbsH513J0ZlGv2pLnKBtM+IrVzMs/MBuF0bB1COUDydP4IofE7rexZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=45.249.212.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4W05rP5Wpsz4f3nTK; Thu, 13 Jun 2024 10:26:29 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 444B61A0185; Thu, 13 Jun 2024 10:26:41 +0800 (CST) Received: from [10.174.176.73] (unknown [10.174.176.73]) by APP1 (Coremail) with SMTP id cCh0CgAX6RHfWGpmwzpVPQ--.25458S3; Thu, 13 Jun 2024 10:26:41 +0800 (CST) Subject: Re: [PATCH -next 0/2] blk-throttle: fix lower control under super low iops limit To: Yu Kuai , tj@kernel.org, josef@toxicpanda.com, axboe@kernel.dk Cc: cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, yi.zhang@huawei.com, yangerkun@huawei.com, "yukuai (C)" References: <20240513120848.2828797-1-yukuai1@huaweicloud.com> From: Yu Kuai Message-ID: Date: Thu, 13 Jun 2024 10:26:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20240513120848.2828797-1-yukuai1@huaweicloud.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID:cCh0CgAX6RHfWGpmwzpVPQ--.25458S3 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYv7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_GcCE3s1l84ACjcxK6I8E87 Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE 6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72 CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7M4II rI8v6xkF7I0E8cxan2IY04v7Mxk0xIA0c2IEe2xFo4CEbIxvr21l42xK82IYc2Ij64vIr4 1l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK 67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI 8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAv wI8IcIk0rVWrJr0_WFyUJwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I 0E14v26r4UJVWxJrUvcSsGvfC2KfnxnUUI43ZEXa7VUbXdbUUUUUU== X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ Friendly ping ... ?? 2024/05/13 20:08, Yu Kuai ะด??: > From: Yu Kuai > > Yu Kuai (2): > blk-throttle: factor out a helper to get throtl_slice from tg > blk-throttle: fix lower control under super low iops limit > > block/blk-throttle.c | 52 ++++++++++++++++++++++++++++++++------------ > block/blk-throttle.h | 6 +++++ > 2 files changed, 44 insertions(+), 14 deletions(-) >