Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4966465yba; Wed, 10 Apr 2019 08:33:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyH/uNV1hAR05xYYCmZhId93u8+6vZqbyrW8XZqREZfMPhSLaFRAtbzTD83F+MP9UKZIryk X-Received: by 2002:a63:e10b:: with SMTP id z11mr41204714pgh.46.1554910395970; Wed, 10 Apr 2019 08:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554910395; cv=none; d=google.com; s=arc-20160816; b=VTy6F8TWtu7iC7cTHsfWzk8mT/PwSAXe08ixr38TIXsBrSQYcabbFsBiz9fi7lPd/Q xXoiBs5KuXcgKKMlpwNvpVMP0QS2V/P+fvD0FUIN6xEgoNYzd90rLjeNjkYHdkcSr/nm kqZYbPks0W4Ua9FIg9S/mFLtQX7vmWiipCSHhJbLmNMK+8Bgcb3TUI4gnLE3SiLtBVm1 y5Q4KridExk18wHImMEBmFD8+6QJsVEkHwct5Ud8kzCbQ+3+ir4FjuxY/nXatGjuPr8K vCI9opzDH49t9ZCwL0e/Fe+UJNp1jxG/OWlhVJ1CkIUwD3gvwOnb2xbCBLOlDF37zKNj RUOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=aAYEd6KIlvjuLTeXZCynXX4LjDCCkR80aveb3LlPP8M=; b=QapZt5WbrBY4iYnLDHt3qJ/yj9A+ib1tcEUfahmeWqE0YnULVJUCPtNwD7XKCsVVcS 8A/6hiFlwqeaDJr9opZzONK32xgdJnIZ3tUaRuzwcfTeb8Hc/AF2wVKu1jw1WdDoSMMl ZNuK5BGa+N4V6Vtv9+eXRzhxXhkGjfAlQsPnSYodV8XVPoChOpUAxpBMjv5Od1Iqjrlp 07AQ6mqOkGg4fQZTaiR8YpXJ0E9fExg2bSxA+33flHBLqeQH4GKdWmazhQMBYzyYOYIP x3hxFIHTrzR8gTFxYMdJJ8rnfR5qVARIeboYS+f9M4g/IPc9k7R9H9TlqxSnduwtsSd8 8Njg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CPBnVJQ+; 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 g10si32179616pll.374.2019.04.10.08.33.00; Wed, 10 Apr 2019 08:33:15 -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=CPBnVJQ+; 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 S1729588AbfDJLn3 (ORCPT + 99 others); Wed, 10 Apr 2019 07:43:29 -0400 Received: from mail-vs1-f66.google.com ([209.85.217.66]:35742 "EHLO mail-vs1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726829AbfDJLn3 (ORCPT ); Wed, 10 Apr 2019 07:43:29 -0400 Received: by mail-vs1-f66.google.com with SMTP id d8so1156915vsp.2 for ; Wed, 10 Apr 2019 04:43:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aAYEd6KIlvjuLTeXZCynXX4LjDCCkR80aveb3LlPP8M=; b=CPBnVJQ+ynlDtlhw4BeSklCj+KEZG0cuxkLzfMv6Q0j66XIiiotRmmbkNLUAqIYZSH Ly/ZXCR993lGYs/rWhH4B2DERdCAEgUQPh2sSQ1iqk5wW8go3zYxlixdbrfU9mcp8j7T 9/oPFuEs2SesJQEa4olmiOyP/Yzpr7yI5aF1cRDcWO50dCQrd6DqL7eq25KUc95R22tG dOQ0fRa2/8jULKTumLe1omIOYYLlbH9T6PCJDL/lFmlbtJx/NU8MHPEa8wGppj0HKwQp d3LYHCWlIhNyuXTqrrBxwLI+xcKDbCq2DICfEN1INi7yBzPsZaHUFRQNQ78kLTcB2o5r NevQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aAYEd6KIlvjuLTeXZCynXX4LjDCCkR80aveb3LlPP8M=; b=oTVqgPFuH5vFWNZO48Jl2qFfnDGBSnRXJ6hFw9HLr1888tm9JkbCuCZ1xKAxOl4d0A RYcRSBi4bmiZeQsCXYYCPTtsoXIIwERGhGcVxxuOoOZXSzLV8bMyCXzctAICUXNgRuqm iz6QtFT0V4D3MQeTYBwcRRFoIV2Ysf4pG4v3n/bSyo5jbDkL726U0P1ytQIl3a4L/XfI ZgQKxitnVHU1dsFfSAMnYaX0AyWlidYNWdjsSJ7A0wE+/XrHouAaIkcktMCfu+4PCMMN yDVja4aOJrqoo7IneJODSWSkA5OWoYM4lGd7GJLPda6uH9/b2h9gnRw8N9tS0o37+jWT l5lg== X-Gm-Message-State: APjAAAUy+ElEqw68/72dSZR6jQE8Sy4YBf4yiiw/T73h8HaClNpYHCoC UNqM9/DXx3Xb4GhwKXvxpRxKT48pm0J+qskBQ2sByQ== X-Received: by 2002:a67:7c8a:: with SMTP id x132mr23276381vsc.172.1554896608462; Wed, 10 Apr 2019 04:43:28 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Ulf Hansson Date: Wed, 10 Apr 2019 13:42:52 +0200 Message-ID: Subject: Re: [PATCH 1/1] block, bfq: delete "bfq" prefix from cgroup filenames To: Jens Axboe Cc: Johannes Thumshirn , Paolo Valente , linux-block , linux-kernel , Linus Walleij , Mark Brown , "'Paolo Valente' via bfq-iosched" , Oleksandr Natalenko , Angelo Ruocco , lennart@poettering.net, mkoutny@suse.cz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Apr 2019 at 17:05, Jens Axboe wrote: > > 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: > >> > >> > >>> Il giorno 8 apr 2019, alle ore 16:49, Johannes Thumshirn ha scritto: > >>> > >>> On Mon, Apr 08, 2019 at 04:39:35PM +0200, Paolo Valente wrote: > >>>> From: Angelo Ruocco > >>>> > >>>> 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]. > >>>> > >>>> 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. > >>>> > >>>> [1] https://github.com/systemd/systemd/issues/7057 > >>> > >>> 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? > >>> > >> > >> 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. > >> > >> So the idea is to align names to what people expect, possibly before > >> more confusion arises. > > > > OK, crazy idea, not sure if Jens and Tejun will beat me for this, but > > symlinks? > > > > This way we can a) keep the old files and b) have them point to the new (a.k.a > > cfq style) files. > > 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. Jens, didn't we actually break userspace ABI when dropping the legacy block code and its I/O schedulers? So, to me, it seems like introducing symlinks as suggested above, would actually fix this "regression", wouldn't it? Kind regards Uffe