Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2967542yba; Mon, 8 Apr 2019 08:22:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzEFq8JbLwTtqYiBtUK5CRjdbqmg6Fo1uoKYPXTB+58yMpAKGGixeyP3RakAhs2hCJS3eJ X-Received: by 2002:a63:6e0e:: with SMTP id j14mr28625329pgc.203.1554736970297; Mon, 08 Apr 2019 08:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554736970; cv=none; d=google.com; s=arc-20160816; b=bmiE8xb5kJ+DDRas4Obznvjmju6yzb7rUbcjMn1pfsDxP5e18QY6bpc4yJvCHOb4lS RBDDYuRSbF3KWi42xhOBy8O06HL4yo6CdLhP9y7jsINL4rx7HStKaAC2pLtuxKZcMtCJ EOdvs/tlhX5tIVOFpg1sSnNWh4d6wlVWE8xF1620myzLWoXDp525a4QQt9GU8N+pzeVA Cr4ur1Lt+2SXc91nAHDWay6Osaf22xGgnw+tL2ekqJAqsAyT7V6ALyl74qsypzrH1ins vb3RRVV+QfwZxC4JZ6J1giM6RaaMJ6jlEnhblJ1kMeq+qSrBZB8P1gSwTfrt+tT8swif TmjA== 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=e2/ADuFbDuc+qrHFSgLHEd6L5BY2SrcoWE9e+J1+2eM=; b=MIQt3mEB1ydZUgkJdB2H11hqJWy3kpa5BQuylW1VvhaiPjlRZtae2Fum1UMta8tk1P b5ntJnbsJkKjh1FCxtBt90zZ0jcu+wXubHNSdWNtXPE411TLoRq6ldsGOXjgIyqKyq10 5xLzCAdIri22pwsHsO54P4sp7CKJHbneOXmr394gPPKSAPm76Z22VV3LbLORz0TQLhx0 +k8mGElTHa+2mFB6pFlQFqjbvA5al5SYuOXxKnTk+cZbMaV02b67OLuLGsbF6gp51ZnG J3tNSttPSiteSqJwdpQH2pQEZ+cqsFxXKTrgDLBMwFyE/bcznqvsFY6aQg1bpgXyXdt/ ohfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r6yRtFfS; 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 j184si28966075pfb.106.2019.04.08.08.22.35; Mon, 08 Apr 2019 08:22:50 -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=r6yRtFfS; 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 S1728783AbfDHPP1 (ORCPT + 99 others); Mon, 8 Apr 2019 11:15:27 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55056 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727838AbfDHPP1 (ORCPT ); Mon, 8 Apr 2019 11:15:27 -0400 Received: by mail-wm1-f65.google.com with SMTP id c1so14802944wml.4 for ; Mon, 08 Apr 2019 08:15:26 -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=e2/ADuFbDuc+qrHFSgLHEd6L5BY2SrcoWE9e+J1+2eM=; b=r6yRtFfSAF0vtzhQILmSVQskLUgjEqWqi58U1m2nJvUYA4BJY3l3awGVMlgWOKs/f/ 0U3DTdY63n8Hs+nZur+HWqiMM4L+/V5ErXxd7cR35vxNdy/imzyc+Zi3gq0qG/RFXJVN nesxjSG+Rd9rNhbQmDDTowO0oD/A5VjfkQ5bq96tRHlx+rde3C60D9D6mkPi0ZgrUBFT JDCnw7DF7q1jn9b0SPJwePez074u17wcWQbbdjcUVhpP/70UQ449AK8M8vv4T8w5JX87 3LWVJmKJC6AOr0dXuXBd+6gQXnf4T/24MhYiLwUl7jeqW7uHpkaNffdhmdbia63KpfLz h0Ag== 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=e2/ADuFbDuc+qrHFSgLHEd6L5BY2SrcoWE9e+J1+2eM=; b=ZlW1tlSXryb9xCoVSDgZw8uqmCcN36raOiW+zUZOsM6Q4GnJVVoULMQ3zV00H3oR9y 7j2RSXNU4w87c1WKhnTCDPlO9MO96LSVzts7DUNX+JsLdzJMBe19+IjuFg1dQixIA2ja H1crme/ETLXCpVu3REhM73ast2vz9n9fXPc0VLiShq8eTv90QVozBXtkLFhJMvO3zlcH hZs6fqva5/NDXEK076a1izuDI63KckW7cA+rQ15i19KwjGqVzVjlC/FUDlVM9mDmcRqT UPKs9Vi5QjPcWj447llV4lYKws5OKqZVrrEkgm9slE44nHEzzpYzk2ccvYvuXS9/Vv8T L+PA== X-Gm-Message-State: APjAAAU5R3g55sqYTecxtBokOttTY+ZFCzYnjSomSNdh6V5GHguej9Yi FtDI/R3FTXPuoldouceTgy5REQ== X-Received: by 2002:a1c:e0c6:: with SMTP id x189mr13729917wmg.4.1554736525520; Mon, 08 Apr 2019 08:15:25 -0700 (PDT) Received: from [192.168.0.100] ([88.147.51.116]) by smtp.gmail.com with ESMTPSA id z1sm25372163wrs.52.2019.04.08.08.15.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Apr 2019 08:15:25 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH 1/1] block, bfq: delete "bfq" prefix from cgroup filenames From: Paolo Valente In-Reply-To: <85f1978b-bb31-c6bc-e824-c0682bbd2922@kernel.dk> Date: Mon, 8 Apr 2019 17:15:23 +0200 Cc: Johannes Thumshirn , linux-block , linux-kernel , Ulf Hansson , Linus Walleij , Mark Brown , 'Paolo Valente' via bfq-iosched , Oleksandr Natalenko , Angelo Ruocco , lennart@poettering.net, mkoutny@suse.cz Content-Transfer-Encoding: quoted-printable Message-Id: <4796D9F5-C30F-442D-B3A2-AF80F6874C2C@linaro.org> References: <20190408143935.9062-1-paolo.valente@linaro.org> <20190408143935.9062-2-paolo.valente@linaro.org> <20190408144925.GA23021@linux-x5ow.site> <7B68DAA9-61D9-4AE0-9FA9-05C07C7FE408@linaro.org> <20190408150430.GB23021@linux-x5ow.site> <938957C8-3A0F-4664-8D1F-A822F6D6D4E7@linaro.org> <85f1978b-bb31-c6bc-e824-c0682bbd2922@kernel.dk> To: Jens Axboe X-Mailer: Apple Mail (2.3445.102.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Il giorno 8 apr 2019, alle ore 17:11, Jens Axboe ha = scritto: >=20 > On 4/8/19 9:06 AM, Paolo Valente wrote: >>=20 >>=20 >>> Il giorno 8 apr 2019, alle ore 17:05, Jens Axboe = ha scritto: >>>=20 >>> On 4/8/19 9:04 AM, Johannes Thumshirn wrote: >>>> [+Cc Michal ] >>>> On Mon, Apr 08, 2019 at 04:54:39PM +0200, Paolo Valente wrote: >>>>>=20 >>>>>=20 >>>>>> Il giorno 8 apr 2019, alle ore 16:49, Johannes Thumshirn = ha scritto: >>>>>>=20 >>>>>> On Mon, Apr 08, 2019 at 04:39:35PM +0200, Paolo Valente wrote: >>>>>>> From: Angelo Ruocco >>>>>>>=20 >>>>>>> When bfq was merged into mainline, there were two I/O schedulers = that >>>>>>> implemented the proportional-share policy: bfq for blk-mq and = cfq for >>>>>>> legacy blk. bfq's interface files in the blkio/io controller = have the >>>>>>> same names as cfq. But the cgroups interface doesn't allow two >>>>>>> entities to use the same name for their files, so for bfq we had = to >>>>>>> prepend the "bfq" prefix to each of its files. However no legacy = code >>>>>>> uses these modified file names. This naming also causes = confusion, as, >>>>>>> e.g., in [1]. >>>>>>>=20 >>>>>>> Now cfq has gone with legacy blk, so there is no need any longer = for >>>>>>> these prefixes in (the never used) bfq names. In view of this = fact, this >>>>>>> commit removes these prefixes, thereby enabling legacy code to = truly >>>>>>> use the proportional share policy in blk-mq. >>>>>>>=20 >>>>>>> [1] https://github.com/systemd/systemd/issues/7057 >>>>>>=20 >>>>>> Hmm, but isn't this a user-space facing interface and thus some = sort of ABI? >>>>>> Do you know what's using it and what breaks due to this = conversion? >>>>>>=20 >>>>>=20 >>>>> Yep, but AFAIK, the problem is exactly the opposite: nobody uses = these >>>>> names for the proportional-share policy, or wants to use these = names. I'm >>>>> CCing Lennart too, in case he has some improbable news on this. >>>>>=20 >>>>> So the idea is to align names to what people expect, possibly = before >>>>> more confusion arises. >>>>=20 >>>> OK, crazy idea, not sure if Jens and Tejun will beat me for this, = but >>>> symlinks? >>>>=20 >>>> This way we can a) keep the old files and b) have them point to the = new (a.k.a >>>> cfq style) files. >>>=20 >>> I did consider that, and that would be doable. But honestly, I'm = having a >>> hard time seeing what issue we are attempting to fix by doing this. >>>=20 >>=20 >> The problem is ~100% of people and software believing to set weights = and not doing it. >=20 > I'm sorry, but I don't know what that means? >=20 It means that people and code set weights, not bfq.weights. Thanks, Paolo > --=20 > Jens Axboe