Message ID | 20181112095632.69114-7-paolo.valente@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-block-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9D68213AD for <patchwork-linux-block@patchwork.kernel.org>; Mon, 12 Nov 2018 09:58:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BA4E29F62 for <patchwork-linux-block@patchwork.kernel.org>; Mon, 12 Nov 2018 09:58:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F93429F64; Mon, 12 Nov 2018 09:58:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D0AB29F62 for <patchwork-linux-block@patchwork.kernel.org>; Mon, 12 Nov 2018 09:58:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728706AbeKLTud (ORCPT <rfc822;patchwork-linux-block@patchwork.kernel.org>); Mon, 12 Nov 2018 14:50:33 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34939 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728796AbeKLTtq (ORCPT <rfc822;linux-block@vger.kernel.org>); Mon, 12 Nov 2018 14:49:46 -0500 Received: by mail-wr1-f68.google.com with SMTP id z16-v6so8586006wrv.2 for <linux-block@vger.kernel.org>; Mon, 12 Nov 2018 01:57:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=P3gM8CEth45UYnNHSZF98Zi/zDAo21J+oNJpFvTMXDU=; b=F+07G256OoZzsTmnbt0RELuT0heBN/K8A2OrFVYc5axzgzepR5T2xKkZNXlibAtKAJ 809E2WdhkOSlr2VxSQawiDZ9b1WIzjE9faJ7tuvvOP/NGFenBt5I92R4MWTVciVtbKU9 TdhCVPR+K7VkxBtuZ276fOv470Q1nrjMDL6vk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=P3gM8CEth45UYnNHSZF98Zi/zDAo21J+oNJpFvTMXDU=; b=FABa8pRvj9GPvRXPlpkI5gWrcVgYz5a22nm/xSlPmiU9BKv9xh+zkRf3z95KLvEh9t HcjPJlUN0Ph2D/EeozqS719PjfO8mOo9j1KTHJCR4hSd3ttjDEpWoDXzt4/gJw9dMtzi k6Fa+a3NCuHEszrfp3RDSU3bmU+x3mF/nQ0toYxX8sEfnZKg7GBHPXidTG2/q/FjRatt viW+14uMYl+MlZxrydD/wAiVPhcKVEaGomLypi2ZBdtA7gGGTPozFZtS/QL36LzdjG3A FhE1p5eQK8EbDBvnmT50kKl/v8nb4SrmLPLrVc32Bcl8OrltYzVLp+ogPuX+mTU+FKMV wlrA== X-Gm-Message-State: AGRZ1gJIsr+7oNs7fhJjYzlYxP2RsJ2Bq+gf4bLOms1qt8a6O/sXznvw f0utqYlinIYe3PA4XaLSje7YoA== X-Google-Smtp-Source: AJdET5dmQXJVy08gMpQhoMpmynlctBhE45z6FLv3NNiUP+8moCL8RqcGeq1AsRtgkq2/wuSqduDtxw== X-Received: by 2002:a5d:5544:: with SMTP id g4-v6mr311353wrw.222.1542016637942; Mon, 12 Nov 2018 01:57:17 -0800 (PST) Received: from localhost.localdomain ([93.68.220.21]) by smtp.gmail.com with ESMTPSA id r14-v6sm21273089wro.8.2018.11.12.01.57.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Nov 2018 01:57:17 -0800 (PST) From: Paolo Valente <paolo.valente@linaro.org> To: Jens Axboe <axboe@kernel.dk>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Tejun Heo <tj@kernel.org>, Li Zefan <lizefan@huawei.com>, Angelo Ruocco <angeloruocco90@gmail.com>, Dennis Zhou <dennis@kernel.org>, Josef Bacik <josef@toxicpanda.com>, Liu Bo <bo.liu@linux.alibaba.com>, Bart Van Assche <bvanassche@acm.org>, Johannes Weiner <hannes@cmpxchg.org> Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, broonie@kernel.org, bfq-iosched@googlegroups.com, oleksandr@natalenko.name, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>, Paolo Valente <paolo.valente@linaro.org> Subject: [PATCH 06/12] block, bfq: align min and default weights with cfq Date: Mon, 12 Nov 2018 10:56:26 +0100 Message-Id: <20181112095632.69114-7-paolo.valente@linaro.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20181112095632.69114-1-paolo.valente@linaro.org> References: <20181112095632.69114-1-paolo.valente@linaro.org> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
unify the interface of the proportional-share policy in blkio/io
|
expand
|
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h index 77651d817ecd..249d8128d3ee 100644 --- a/block/bfq-iosched.h +++ b/block/bfq-iosched.h @@ -22,13 +22,13 @@ #define BFQ_IOPRIO_CLASSES 3 #define BFQ_CL_IDLE_TIMEOUT (HZ/5) -#define BFQ_MIN_WEIGHT 1 +#define BFQ_MIN_WEIGHT 10 #define BFQ_MAX_WEIGHT 1000 #define BFQ_WEIGHT_CONVERSION_COEFF 10 #define BFQ_DEFAULT_QUEUE_IOPRIO 4 -#define BFQ_WEIGHT_LEGACY_DFL 100 +#define BFQ_WEIGHT_LEGACY_DFL 500 #define BFQ_DEFAULT_GRP_IOPRIO 0 #define BFQ_DEFAULT_GRP_CLASS IOPRIO_CLASS_BE