Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp52226ybp; Thu, 3 Oct 2019 10:04:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB3FBSmdkDhE1OZ3jg+g9uXvVIGe0VFV1NcJYzT/PEjKoBYg0fbYktE1bab/NPYv1J+1D1 X-Received: by 2002:a50:fa09:: with SMTP id b9mr10654548edq.165.1570122249775; Thu, 03 Oct 2019 10:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570122249; cv=none; d=google.com; s=arc-20160816; b=pcAUU5fAFN8lhMLlFzUXwtY333wdpv3pdXGiYlb3nPh8cOExtmQwfK9i0uXMjHW9F5 dllL3Ot1E5wbp8yGMns01s3f4evWGIst5WxuVFdiKv3+J2XTAh55bmTONUqAFT5B2jYl 9xXLfJdvArRiDNBh1yK//7lhUySg3a5ESyNCMJOf2UMl+io7fTLTqiGHLnbyD6MJjk17 XI/G/7GlbKRou0w7Q/Vq0BSoR1QvWBXbE/8dT/C9Glf/N39x4fILhkByb5MpAepYt4so vHan9TOqnW1QIJxllLPzAYR2gY8haFuIr/Y5bhScOy069gUWDLG34MnnbZ07w69Oqrkg lcYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cY7dwSAZ/LRC+V3+VuDl/u0CtvPhkHUKtwYdGP4h8tM=; b=DWPAnY/V4slI+BGa11/UhNGOS9x92WahTAmugx1sOavoP3+2+n858fefvVxALfKYZB d7vNiRJ6ZApdY5aQgStqtIxxEUXPEbOE/G5Qt4zhSXfaao3M9z8lRJ9drrixynIC4LtA gMBdI9O+CBlbgFseTW94NmIG0l83lEE4xnDpvpKDfFul1Y+cW+3vdN1WYhDXjcYhquPj sRfhehwnEA1T1Iz9184tzlMl0WxXShqvGXEZ67mEg+bKnzqgiVMx3tDqmvvnKi5Mkue0 jIWrl2ASE5JmRPutUI14jBZxyof4IvMW0qsB+EgrBDdMUf/f+Qo/+gxmQgWlX6GGW/ND 5ocA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=hLGF2x3m; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 13si1905170edw.357.2019.10.03.10.03.44; Thu, 03 Oct 2019 10:04:09 -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=fail header.i=@gmail.com header.s=20161025 header.b=hLGF2x3m; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387819AbfJCRAY (ORCPT + 99 others); Thu, 3 Oct 2019 13:00:24 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:35267 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392862AbfJCQp4 (ORCPT ); Thu, 3 Oct 2019 12:45:56 -0400 Received: by mail-qk1-f193.google.com with SMTP id w2so3044902qkf.2; Thu, 03 Oct 2019 09:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=cY7dwSAZ/LRC+V3+VuDl/u0CtvPhkHUKtwYdGP4h8tM=; b=hLGF2x3mry/9VP8Cgyatm0IMsLfiswwpsqSwtwh3Z2Hay6ZNSrYP6Hl5hSyR5M48qX 0IPsGhDFHmzedwYhjqPSKXxSwEpjaF1SjvuJ0FK0DlG2SceDEdslkMbvqyN5w454YJEj OuwD5C0GKsFxYOH/fjS9taQ1Fao+rvVL7X1AVWbbtq3PQMNMju9lJvlRQgAV3ZyrxHfz Zj6wGdAz4K8h7+DjIXPxytnFabB1ZqrIkvVfNl+Es1B4BNAEYSyFz5+rL/yTVGZXslMS T9YRxz1/wbsN4CzseBltb1yCaLMVpoVxf5u9viLfyDTGM5uggapI2PAJl/M2cNZb9nJB +HVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=cY7dwSAZ/LRC+V3+VuDl/u0CtvPhkHUKtwYdGP4h8tM=; b=RMHT5/h6CUgdSc/0yRyZM0s0mVbobXvyVqfA+oKKvrAeSR4Lc0r6jyTSXT7e/P0E0X GlgTldK6jN0y2Nm4cbGWWnoj2QyGAKbzSpgRk+F4qd8EwDXGRbOKXoFQ5JlKOATFhxw6 eTlfLkKVQrOi7qtzWnJML+OR33E056u/cGwHHVZttZRvMXLTCj+XIcwA6STFxZb40Aws GkMdjKMGoVsp2XXJzVXaut/uITHYfcF6ek0S0F4Bcg/WhG/9+GYKGxDcbJosxAjHKvak a3T4bmzlJKp8yXajbWn5eXrTVq+a8C/cmsn4la3dKs8goeqveg7LM6SU9o/k8XKooygR X2Yw== X-Gm-Message-State: APjAAAVPjRvcNqvwQTuBqa+J1fViD7Nf7o1OM9epKhg6SJBx5u12wJxa ZQTxKnrEg93PUXGG19MHNTM= X-Received: by 2002:ae9:e810:: with SMTP id a16mr5237472qkg.364.1570121154872; Thu, 03 Oct 2019 09:45:54 -0700 (PDT) Received: from localhost ([2620:10d:c091:500::3:9f72]) by smtp.gmail.com with ESMTPSA id c131sm1941291qke.24.2019.10.03.09.45.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Oct 2019 09:45:54 -0700 (PDT) Date: Thu, 3 Oct 2019 09:45:52 -0700 From: Tejun Heo To: Michal =?iso-8859-1?Q?Koutn=FD?= Cc: hannes@cmpxchg.org, clm@fb.com, dennisz@fb.com, Josef Bacik , kernel-team@fb.com, newella@fb.com, lizefan@huawei.com, axboe@kernel.dk, Paolo Valente , Rik van Riel , josef@toxicpanda.com, cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/10] blkcg: implement blk-iocost Message-ID: <20191003164552.GA3247445@devbig004.ftw2.facebook.com> References: <20190828220600.2527417-1-tj@kernel.org> <20190828220600.2527417-9-tj@kernel.org> <20190910125513.GA6399@blackbody.suse.cz> <20190910160855.GS2263813@devbig004.ftw2.facebook.com> <20191003145106.GC6678@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191003145106.GC6678@blackbody.suse.cz> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Oct 03, 2019 at 04:51:06PM +0200, Michal Koutn? wrote: > > Initially, I put them under block device sysfs but it was too clumsy > > with different config file formats and all. > Do you have any more details on that? In the end, it all boils down to a > daemon/setup utility writing into the control files and it can use > whatever config files it decides, can't it? Yeah, I mean, we can make any interface work. So, there are two global knobs io.cost.model and io.cost.qos. Of the tw, io.cost.model is okay to move under block device but the qos file gets weird because the content of the file is more resource control policies than device properties. Thanks. -- tejun