From patchwork Tue Oct 1 19:33:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Valente X-Patchwork-Id: 174942 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp8992229ill; Tue, 1 Oct 2019 12:33:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpDo0y0uNfsqxObg+6KF03pGRsYxavzEj4ssdpBzJiVbvirOZv3YSoxHAGFLkRxHEjP4t+ X-Received: by 2002:a05:6402:281:: with SMTP id l1mr7112754edv.40.1569958415976; Tue, 01 Oct 2019 12:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569958415; cv=none; d=google.com; s=arc-20160816; b=KzC4mmZn9vAlVgdDP2+sS/2yZKLpIyyev+qBhgZRnCJ4TIl7oCzbLb28DsMyUOdcP7 HcgWvAm/Prv2xv64IWWBJqlwzex7ED4n9FpYwXpBXEInBG/hlpv+GuHS65L/3DfPNNF6 YoN3RBgyIt4kdFDJUClzariThDJwdd9AYrHHiuHPet+37AUCSmeqB3XY5PMzdRvhokRm ZSsfqhser6qcjfDGg2yg0FL2FvKdYMAbz5JasFAE4Fzm9ge199egq2ZMTrKE5EvaSzVi ykdl9sD+Yh3TsgP74cTW8hjOxtl3VkVVzuD3M0bNhxDe0gJCPcJfbjHCVR77e/GKbIEA VLkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=JiHkBcFF9QGKSMF3hIUTLU+zid7TMdspW3045+AEJlQ=; b=XUONA1cSKUIglIeOYeQVRhI4ViEmN359n9f5+Cg72tcB7oe/xbY+qCcMM2TplPj8MP udw83zkhAp3yp563WnC7COuxLcV/3rU8K9b/sU3+Dcp+D0RokmUJEq9g3AD59AnESk2+ tO7xRStsRkTXzcWyj5mTKG66BkDAlWGIu3lECcbVs+hUv3VymIYKxb2XdA883bUm4zSv WsE/YZWI34E6O0B+iV6grGU4q3AHpcAqDXGzpXy6HFDfyQWBFPtLMVs82p6LmqjIBeyF 5X5GL44Bv74eAyBbW6pUhJL10/PxxnKBZu0uqJPu8La3K/CT42ZdEsjIhwQScSs4CP/9 kpgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZPycgWvl; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id os5si4463576ejb.61.2019.10.01.12.33.35; Tue, 01 Oct 2019 12:33:35 -0700 (PDT) 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=ZPycgWvl; 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 S1726872AbfJATdc (ORCPT + 27 others); Tue, 1 Oct 2019 15:33:32 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:35473 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726186AbfJATdb (ORCPT ); Tue, 1 Oct 2019 15:33:31 -0400 Received: by mail-wm1-f66.google.com with SMTP id y21so4504683wmi.0 for ; Tue, 01 Oct 2019 12:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JiHkBcFF9QGKSMF3hIUTLU+zid7TMdspW3045+AEJlQ=; b=ZPycgWvl2h+aHUHp06XdvjewtgM29fzf/AeUg8xKzELsCUN7fqdxZ2Ko8wyH1v3OgO 6cbI5fFQok9nm7zF0Sdezj0f/ayPXceaD/BIC6Pfym9Zbvu1vbKqpd/5CdpS5WWgb0mM JFzb7RKoBj53G4DkOlFcppmGEoOzCdAw++138O/YF6JonUrHobCbwZWZibNesC+AKZBI tMDSqXbxo3j6jcvm/zRn7A+doKunH4UgdY+XNJN/+ziuhdZmBElCqkwK6ZEkx0iVmZDQ wL+tn+Rjnklt9C/+ESpvIF634AiWYbN1LKE60Y3bupfg70QqCS0nSvmWM6UGX8gDDMfW HjTQ== 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:mime-version :content-transfer-encoding; bh=JiHkBcFF9QGKSMF3hIUTLU+zid7TMdspW3045+AEJlQ=; b=cpq7wtDQ+9TavEdBEYLRVgBHeNyzQ0SjgeiEbvV2Z7KpA4iM+RbAjHIIuXKeFUWHeo hfHzAL+Mycia6vQw1MAjdMTpHDKJpPX+U4wgFxoGl18L+kEwbkkF4aTmjUbFx0IRFalS Zc9LKmKokMKOiTj4I/jjEgEsjDhqD2pWBwqxuy2rgf/rx/rIf1KawP29FckCpYDxSSDw 5DTs011LP+rYv96TsrRvi/WbrTKO/iFELLMUdzw0zKUTuGMDwt+S3MqaGyXOOW7oEW5t qjPAjZBMYfYP+aVr3GFdt4Sk45ZSK0BSqaRBkRBVkSgFasW4+yP9yXe6om51iDscAg8Y LeeQ== X-Gm-Message-State: APjAAAXs+470uNSHHgCbTWLNormAgDA/t6ruJnRCOf8JQsT86vzTdekX +SalBaCzvV50HDchUxEG9FZ2Ag== X-Received: by 2002:a7b:c4c7:: with SMTP id g7mr4944750wmk.11.1569958409373; Tue, 01 Oct 2019 12:33:29 -0700 (PDT) Received: from localhost.localdomain ([212.140.138.217]) by smtp.gmail.com with ESMTPSA id q15sm36967632wrg.65.2019.10.01.12.33.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 12:33:28 -0700 (PDT) From: Paolo Valente To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, bfq-iosched@googlegroups.com, oleksandr@natalenko.name, Tejun Heo , cgroups@vger.kernel.org, Paolo Valente Subject: [PATCH 0/2] block, bfq: make bfq disable iocost and present a double interface Date: Tue, 1 Oct 2019 20:33:14 +0100 Message-Id: <20191001193316.3330-1-paolo.valente@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jens, the first patch in this series is Tejun's patch for making BFQ disable io.cost. The second patch makes BFQ present both the bfq-prefixes parameters and non-prefixed parameters, as suggested by Tejun [1]. In the first patch I've tried to use macros not to repeat code twice. checkpatch complains that these macros should be enclosed in parentheses. I don't see how to do it. I'm willing to switch to any better solution. Thanks, Paolo [1] https://lkml.org/lkml/2019/9/18/736 Paolo Valente (1): block, bfq: present a double cgroups interface Tejun Heo (1): blkcg: Make bfq disable iocost when enabled Documentation/admin-guide/cgroup-v2.rst | 8 +- Documentation/block/bfq-iosched.rst | 40 ++-- block/bfq-cgroup.c | 260 ++++++++++++------------ block/bfq-iosched.c | 32 +++ block/blk-iocost.c | 5 +- include/linux/blk-cgroup.h | 5 + kernel/cgroup/cgroup.c | 2 + 7 files changed, 201 insertions(+), 151 deletions(-) -- 2.20.1