Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3881453ybl; Tue, 20 Aug 2019 03:49:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMCEEAzjxZtVBVguMVMRt+NrHu13j/OIl1eGVTUKAYcwoTHqFeHEngNfi15k3slH/5fg4N X-Received: by 2002:a17:90a:8b94:: with SMTP id z20mr14588094pjn.109.1566298162977; Tue, 20 Aug 2019 03:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566298162; cv=none; d=google.com; s=arc-20160816; b=FyUMgh2kJ/qXBqwT6r07dj8N2a77eOxYm3QVv48Yo0YKi3mmV6K3nptEpx9Q2ztYe/ BZJIa4bBZcd5fUkPfu3taRC6pYLOboBEX+QjTQeAhsXoUX89ND64RvNJU8x7/Ea/UQTs 92hmsZtjnH9RrsUxrFzLIakPAzwUVGJo4nehPHNxTm4R+WpWV0GreVYzk2bVnEcy/dBN g+h7BaFW0Zv4zZ0Lh4g537/lF2s+3hJuGh0I4NynsBn2T+S8Gfa7QASEHmOTpiaTmF9M 03bfFHnPy4Xn03b2hDxMQAAxIFGGo1UrRmAPmh6Cl8fZYG5mkhXDacjHFStf7qFSWy6Z v87g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=8YhdYjqe+CTt77YsPRFesv990RDPmX6UdhabR8/j8l8=; b=LsiY0fhgj2/QBwNMypr1sfsDANmjv8K7lQlvHkRdbBKZuUc8ClWrqhe+wxbtJY6mfD AcHpzPCsa/Y96MD1t1d0mt+MLK3Rk/YLrYlPg1lNwpoErE/6uXMPCvxvrGfNePNdXxSg dZWtVzgz9oK8dL8pLErdajybGj+/rx0G7+1HTruKNb1vPD3SXOHbt0DLvKdCCewjazc1 vIvKtvfRxR6wowSFQcfHqgE0nGa5iJfN7Khw0N59EFactWyHomH2h1OXMB/R+caZt2PM X5rG3xYQjkISdSDrg/BA+2iA9WjSDC9l50vTao9Gi5izWhbaWCh3DbNEVuhUtw7zTAph 0ONQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dgG7nSae; 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 p3si2098847pld.197.2019.08.20.03.49.07; Tue, 20 Aug 2019 03:49:22 -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=dgG7nSae; 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 S1729560AbfHTKsP (ORCPT + 99 others); Tue, 20 Aug 2019 06:48:15 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38457 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728842AbfHTKsP (ORCPT ); Tue, 20 Aug 2019 06:48:15 -0400 Received: by mail-wr1-f67.google.com with SMTP id g17so11900571wrr.5 for ; Tue, 20 Aug 2019 03:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8YhdYjqe+CTt77YsPRFesv990RDPmX6UdhabR8/j8l8=; b=dgG7nSaegDa/f34PzKpV/NDTRDbAf4Tn8ESgBGCCvyBUctxq98sGkgyEW3giHSJqxI yUlLAH58TbPebsNICnhxbv2FhjuVdm71H1yyw5DTYaHXUr2mcxTajrDMX8YQgXP6K59l KMlqgNId7X/0kUtpLyRyUbCvjdArWdQ99nv9N56pBQaxb3fB9btAbzRfZfUnDKcyc653 FieTVsewJyyWcgh+hruCD2sviZgKsiiLWf5EamLzSfUSXhw0pHGE0djlhbWl5DfBK/qL x+kZDh5BOO4jY2T8+YBs/0azHTKHddDMvZO7kBrbJSv/Sg/eUgpzfCZxDVIdodTyN4C4 JChA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8YhdYjqe+CTt77YsPRFesv990RDPmX6UdhabR8/j8l8=; b=laeA+EBNDmS4XeScO2XjxXdFTsIMyZgW1q3O7dD63DWamwMGlvEot84M4W8TAsln+S zpC/Un5eEsW3ptH2L4gcQrf2Q95jNxaYoP48LFrZcHXOq1BqATSRAjlZkmvpFlVewD6u Sg8G0WIrDj4zmNhAx9APYIQTCgzUhdAGgWrxjHWYVF0Ku9k2+BR5u/MHFbYIO0VASkBY m5nourzwzY3t1hODLAGqCmPS3LcEoIh0jC6lrPQSyIQgBUx1KJ1hQTcQCkiOlwBkxsjL I2P1HLximUXxUdsmdl+BTqPegx1Iw88POReRzznghmrUqCP14U77Eh0Iy2MU8+isfjmx l3WA== X-Gm-Message-State: APjAAAWoSBdWlCPsoOv2GZK07QlUEfLOS4jyRa9nmtpWTqWo5kvohtAG oY0t+EVcG5HL8vDuO2qQSgqgW1F4e6s= X-Received: by 2002:a5d:5450:: with SMTP id w16mr20045745wrv.174.1566298092001; Tue, 20 Aug 2019 03:48:12 -0700 (PDT) Received: from [192.168.0.101] (88-147-37-138.dyn.eolo.it. [88.147.37.138]) by smtp.gmail.com with ESMTPSA id c11sm14244247wrs.86.2019.08.20.03.48.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Aug 2019 03:48:11 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: [PATCHSET block/for-next] IO cost model based work-conserving porportional controller From: Paolo Valente In-Reply-To: <20190614175642.GA657710@devbig004.ftw2.facebook.com> Date: Tue, 20 Aug 2019 12:48:09 +0200 Cc: Jens Axboe , newella@fb.com, clm@fb.com, Josef Bacik , dennisz@fb.com, Li Zefan , Johannes Weiner , linux-kernel , linux-block , kernel-team@fb.com, cgroups@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, bpf@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <5A63F937-F7B5-4D09-9DB4-C73D6F571D50@linaro.org> References: <20190614015620.1587672-1-tj@kernel.org> <20190614175642.GA657710@devbig004.ftw2.facebook.com> To: Tejun Heo X-Mailer: Apple Mail (2.3445.104.8) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Il giorno 14 giu 2019, alle ore 19:56, Tejun Heo ha = scritto: >=20 > On Thu, Jun 13, 2019 at 06:56:10PM -0700, Tejun Heo wrote: > ... >> The patchset is also available in the following git branch. >>=20 >> git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git = review-iow >=20 > Updated patchset available in the following branch. Just build fixes > and cosmetic changes for now. >=20 > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git = review-iow-v2 >=20 Hi Tejun, I'm running the kernel in your tree above, in an Ubuntu 18.04. After unmounting the v1 blkio controller that gets mounted at startup I have created v2 root as follows $ mount -t cgroup2 none /cgroup Then I have: $ ls /cgroup cgroup.controllers cgroup.max.descendants cgroup.stat = cgroup.threads io.weight.cost_model system.slice cgroup.max.depth cgroup.procs cgroup.subtree_control = init.scope io.weight.qos user.slice But the following command gives no output: $ cat /cgroup/io.weight.qos=20 And, above all, $ echo 1 > /cgroup/io.weight.qos=20 bash: echo: write error: Invalid argument No complain in the kernel log. What am I doing wrong? How can I make the controller work? Thanks, Paolo > Thanks. >=20 > --=20 > tejun