Message ID | 20221102114354.162-6-Yuwei.Guan@zeekrlife.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3568744wru; Wed, 2 Nov 2022 04:49:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4dGlyA1gRn1znEsLmnV2efkm+3QQ4X60q1tfB/nksKqAMWi77yBbuzHn96MdlWfQy2ofhP X-Received: by 2002:a17:90b:3b49:b0:213:854f:f796 with SMTP id ot9-20020a17090b3b4900b00213854ff796mr32300934pjb.216.1667389744149; Wed, 02 Nov 2022 04:49:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667389744; cv=none; d=google.com; s=arc-20160816; b=k4Mtq17jcv0IG1cCVN8XfHcc27eQh96NRERhq7ChpMFdXpeJl1d2EkHFF4tLvj/Cbk wxgPj0t7dkobfRLYIhGjgtW4TxvnYTkUwq2snKbr/KTlfakMkcdOzbs8cVTbGQ23bJrC fqBnXnDTlc6ywTVvWcvCLhfvQjmTmnGdHb4gobkPC9ULLHu6UHRhBBC2XXG0BTFq03UT zl6tWjqOrkxXyAxQ3sOh2iv4JzMM4wVR5IgHM1D/Lo8pCjnaqRvv9FRsV2ERKQqHn+Ds byVcDIOqPMLSCxT4PrDtuoXhjfu0xcnLMManTewUoyDUlZrDdp3WAP9j1QTj9plcWpj1 BJJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KcGv5Q7FeBS6XrUIkFhAj+jX0IyfzopjVBjybBsLOts=; b=IZwzOt63jOMmz+DIoepZs2OyC4GHLv1sroUBRzbSMXBm/UtF3qZ5D3jhvWvLiI3BzL LvlKoMgsYL55mnczGA+g0Prm34aRi2wBt/XbdJ5BLeNw5+Tzv5TGr8jLhazTVdBZ1/vW ajbrjqZH2jx/s9CriKaJqE2Ox4qu3DQf00KiKlejAh7jEH8veL6gwn3Lt9kIRCieBThZ SD6jsd0qUx43tdCuGliSURDoKscecILQlVZjcErd+PeRc7+SVFHNsW0KU9050KahnT1M oA/1eRwxc6S7VeU52N+x3mh1E0QuQ4GNTH/oTtUT3oydVTWKbfzjCKNuvQ3OFFwojYTh x1+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NIRcuK4g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a17090322c100b0017f641cac01si9710098plg.27.2022.11.02.04.48.51; Wed, 02 Nov 2022 04:49:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NIRcuK4g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231126AbiKBLou (ORCPT <rfc822;billy.jones8454@gmail.com> + 99 others); Wed, 2 Nov 2022 07:44:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbiKBLoi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Nov 2022 07:44:38 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D682128E01; Wed, 2 Nov 2022 04:44:32 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id 128so16037056pga.1; Wed, 02 Nov 2022 04:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KcGv5Q7FeBS6XrUIkFhAj+jX0IyfzopjVBjybBsLOts=; b=NIRcuK4gA8z2XwxCgqp9Dx/4mNr7Muhwf3kBaLGGNGk+uTXlEPN4veC+ztIPfZcDpG dPce3bE+p52PIK48GF4y5SLT6SZn+6d+4DZWr0NDfyVRVCpSttxyUsnr1Cugrz24zEh5 ZNu9CBU0pkTqFBoa7OV7kseKNU3xeoIijtz595GAaIIAFqWKGkjRnedDDj67q4YoaKrs p6IybNn6dYnYMv7z8y25J6SCMTzqlPt62Ee869kVbfuxQX/WTEeT1SOx3oRxeglKhBDy vQkitQenfhlIOV4Xn4qrwOaUKeDYwWQplKnaI+hJXuQW6sj+z1SWNwQDDXomw7mgCldf xU4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KcGv5Q7FeBS6XrUIkFhAj+jX0IyfzopjVBjybBsLOts=; b=3j8JLB1Pg8xQ7T9epvUDcopgNwm4RsgnfhPzEMYdZe+P4bMxxJ+u+W5iVUDLPmggn2 zIA69qj6tqrzo/zSIafpxh5oNoAGW7edk1iGZqjMy1YhYJ83pqF+/K8r4VWAiTTOZG2P wWX+F/acS2cKju1pZaLpMI8F9EQb5ydtitTGdHEhaqj5OhTCOcLWP32HlXq27gWQYaTA HiIX6HBSZHmCr88GzJ6NAeX+60uPhEGQ6vkIOfvXl+uIQ1t7cBwf8e/bakRgp7VrqC5s tzZHHI6/64Dndfw1g2jw47SPrTBCQCzEmCebWG7watJTjMGPCytmFa0MWjlqsaPzlGt+ /sow== X-Gm-Message-State: ACrzQf04oKX/HPoLa089K/7vg0dqZSWWyiSGMyJeRVOCuFb6+NihMfwo MbYeDL5rtPYoDoQZezaxq/LAPEOBbFu3/FQK X-Received: by 2002:a62:32c2:0:b0:56b:2cce:d46a with SMTP id y185-20020a6232c2000000b0056b2cced46amr24448117pfy.36.1667389472415; Wed, 02 Nov 2022 04:44:32 -0700 (PDT) Received: from Zbook.localdomain ([129.227.152.6]) by smtp.gmail.com with ESMTPSA id a11-20020a170902eccb00b00172e19c5f8bsm8169978plh.168.2022.11.02.04.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 04:44:32 -0700 (PDT) From: Yuwei Guan <ssawgyw@gmail.com> X-Google-Original-From: Yuwei Guan <Yuwei.Guan@zeekrlife.com> To: paolo.valente@linaro.org, axboe@kernel.dk, tj@kernel.org, josef@toxicpanda.com Cc: linux-block@vger.kernel.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Yuwei.Guan@zeekrlife.com Subject: [PATCH 5/5] block, bfq: change type for "bfq_large_burst_thresh" Date: Wed, 2 Nov 2022 19:43:54 +0800 Message-Id: <20221102114354.162-6-Yuwei.Guan@zeekrlife.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221102114354.162-1-Yuwei.Guan@zeekrlife.com> References: <20221102114354.162-1-Yuwei.Guan@zeekrlife.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748384868492076235?= X-GMAIL-MSGID: =?utf-8?q?1748384868492076235?= |
Series |
Some cleanup patches for block bfq
|
|
Commit Message
Yuwei Guan
Nov. 2, 2022, 11:43 a.m. UTC
"int" type is more suitable for "bfq_large_burst_thresh",
so change it from "unsigned long" to "int".
Signed-off-by: Yuwei Guan <Yuwei.Guan@zeekrlife.com>
---
block/bfq-iosched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h index b022e5ec0871..df866936380e 100644 --- a/block/bfq-iosched.h +++ b/block/bfq-iosched.h @@ -701,7 +701,7 @@ struct bfq_data { /* Maximum burst size above which the current queue-activation * burst is deemed as 'large'. */ - unsigned long bfq_large_burst_thresh; + int bfq_large_burst_thresh; /* true if a large queue-activation burst is in progress */ bool large_burst; /*