Message ID | 20181112095632.69114-7-paolo.valente@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2947884ljp; Mon, 12 Nov 2018 01:57:24 -0800 (PST) X-Google-Smtp-Source: AJdET5c8r+xzl0HTrPV15pqIpe3GvRLxyNKSlhQmEPUZWuvqTBIozS5ZCkO6yp6bsuJFQc7rjdN1 X-Received: by 2002:a17:902:c03:: with SMTP id 3-v6mr272816pls.141.1542016644421; Mon, 12 Nov 2018 01:57:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542016644; cv=none; d=google.com; s=arc-20160816; b=W6RlbJ8aN99UqWk2My1zG35ruFZXj6PSXjQp5fyL6alaS8V7Lgr+KJMD+RCSz3Erb4 HFJ7TsWiS/sLqmkAJN8SlYICjd7GN+YESHe3xHEbbiTDL5hBk2VkShs4iXQiRQPXW5+x 3Y7NKWlIbHcMzZEVVrGdvv17QwBT0pBaASte3BKPgtRq36a+gRcNAptZy3qPjakrKCFV zcw5vRA1rgyqjgfbe8d/RG+hd3k5E1z4FgLa1vwEClU43Vmo/1unNgFYg10AjuM4Jctr m5XWEwxXg2YZ13EmHd/1jF4tRIlnpHOFz0mcm8XpL0+5jLAIzonlmcCe6jRA7vxv2kDm 4Zxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=P3gM8CEth45UYnNHSZF98Zi/zDAo21J+oNJpFvTMXDU=; b=PYdBLiEX6kJ44bRnrRdIQFjQddnj0NmTvLn6esKrppvrNhIRd3F5+dl7BTMuQCcbgX GPcbe52Z9cG7bdG/Kc5aRUjckXuGhW04xXl8ADM1K2ItDl9zabpwJ4xZRA2/wZnLx8Nm 8RJhCqmBdCr2xrrSG2fhH/v5vo4DKPFO73Ezhwy6mQCCgNYYLnMEUxoATs9DKT24qX+0 7lLNY4Z/JxN16F75NpLT+f6fJjpxrcqtmvuGRnEgKLk/rgbPqdc3yJf9q+tUM4odiiUD Rhw2Smct8h0+xeEYBx+322cjCpgSVfxeRrVKhSR8PfrtF4p8N6VsUB3EUJskNkLIu5cX lmOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F+07G256; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l137-v6si20976365pfd.260.2018.11.12.01.57.24; Mon, 12 Nov 2018 01:57:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F+07G256; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729276AbeKLTtt (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Mon, 12 Nov 2018 14:49:49 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33464 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729150AbeKLTtr (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 12 Nov 2018 14:49:47 -0500 Received: by mail-wr1-f68.google.com with SMTP id u9-v6so8589191wrr.0 for <linux-kernel@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=lOF6HF/ELV/urYo1qNSxPsL9UJLD9sbBLDO5hr4KYpczpnD9TO2PToL59tJfRWLd7r fMZ00e9eEDw9JIQqQ09WPju2XxFcGAjhfT0Dx77nmC9xHGX+JFZDKLY2g246D1fbo2Dg q5+b2aFh8Z9ecrH8dJhrZ4TLFYTFzcwl+/b5/N/mM4DQ6Ao8rj9Yar2R/MqQeIUTU9x3 GzpESeuw2MbmcoAJft8TqAwtQxvLK0T9pIgucwjoY0uphBNcuGbWR0jJzZhU1FM4Iotg gsobGZ7q7fdfTeMDH9fXVNx+fMeuRG/BDr+bnrIkERHBXks11IBPvebCs8xJu+4mHjnm /gDA== X-Gm-Message-State: AGRZ1gJ5WFC6mQFm58SDknrJoxDwZVVLeUqsSfAyq36fYInc1oogM3tz hzOv7yB57aTBAehfaWU+REwlrA== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
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