Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2993611yba; Mon, 8 Apr 2019 08:53:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeWMqt+yMwWrCNjgO08ZpI1B4X3vB+bNcxgByI45AZKmr95gvDMF3+FFoOEuatmpvvMpBr X-Received: by 2002:a63:af0a:: with SMTP id w10mr6471966pge.67.1554738822527; Mon, 08 Apr 2019 08:53:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554738822; cv=none; d=google.com; s=arc-20160816; b=z16sLQfCop/+h+ItM6AKTjTnwtDaRTjNIsFbyo1tO5ctdY6Evl+omodJwPcyaRICEa wn29iQR0jn7q8swvzyIfLNpYewbPtdExX5Yy95xBJzmYWzqbxxKFWH0oEdZQbJQWjtov 8NoOsd0AjmvlWaKL+bLvjt8UEVuYrsbIUXfsJjosqmgVjtHhLgC4RIMLBsMbQsBNcFsB cvYGd9iEwqjPMU+qKy/fA++h6IxQhxIQf3QTrWf6inPvYb93E5l6Jcj+FMIIm/6JQz7e QCkFgkHGEHhxj3jwixDaUIfhAMG8JuITfkZpL2rvzb9b9WOSrOZoMMDb1OFZfNhyFPMa 9DDg== 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=eAkVGL8LuYrWK2HSKnJoGKtfb768PfHiEnLOTq+qGeM=; b=MetnyU9wmgUn2tQdcbhOXogXd+pyQZea9lSH8F2l+ZtcAup2EXi3wqRxo4XTkP9uxR EOwSKVqQDQyOk/AQgQnsUbeCgreIy01YbetIk6pGNuHzTrwbIvOiK+UVvTTNatDhUEAq s4r8h8ExkLpjSLzvAN2KY6Ke1HZ491+UDfcDcBXqJDLJsbQ4/JhjSfDqLevwCw5mQYV1 05S3W8A/uMHuJPOwaCZPfhzsz1LkzW6tmwHUEdeQvrAj4E25Ay+q4elnKGPsy1IKatUV DtqOK7kb3uQUTiocj2/YxyGxRHXv30XORTXho5LH2M2oSn+mInu36gMJ667tgxlMmawH 9KJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g0909WOp; 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 z18si1199047pgv.299.2019.04.08.08.53.27; Mon, 08 Apr 2019 08:53:42 -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=g0909WOp; 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 S1728442AbfDHPGy (ORCPT + 99 others); Mon, 8 Apr 2019 11:06:54 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55071 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfDHPGy (ORCPT ); Mon, 8 Apr 2019 11:06:54 -0400 Received: by mail-wm1-f65.google.com with SMTP id c1so14768152wml.4 for ; Mon, 08 Apr 2019 08:06:53 -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=eAkVGL8LuYrWK2HSKnJoGKtfb768PfHiEnLOTq+qGeM=; b=g0909WOpVaY8LRC/Xa+v/jGqL0gEvjsPdUfTvNJr2wRjddJLW2HrkE1CR9QmPUDB90 jbI4iqkFXuf2E2tjUSxfUdM2KJTLnFJLFwjqSlVdd4sfnpRQaQgytRq3miL1HERLR//F K63Yi+ZwNB1AWpSOTI85KRMjjDyX8/4rmvp1vnWVYsGVU3CFhOBftd9yJe/a6RUym7Tk gwDXlHkwUuUD3o/3Q9lfCnRFiHdVpU2IzFC8VoSEgTkl9WhcXocTIOKX/W4R/F0iMLM8 cufzA4I9sn7r1a4ePUDLsefsQXtXRnS9gwh+fVCxlC9j2uvxQ/GjHFzm5SCCel2uI792 6gZg== 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=eAkVGL8LuYrWK2HSKnJoGKtfb768PfHiEnLOTq+qGeM=; b=nHoPmQZ1VGdhCYFFjvqSJqGNolfbqx6JjiisnuWonP4fSjec0XVLj2dRIWJky7AwNf AtEnhGxCQFd2FeCeFD/MKduxdE6M3mg4BXn+S2IS8+6OkPzCndvSZ3U1d7op/BL5TaUx 4oobHyC1ByPDz36tmxnVpUFBsWAavptFqEOAcja7jaBUbaJlpMUZVFdrBb24Mg3z8+zR QCPqhMdDVPK66c0PsuLYYC451XjTPm9PQnsE9QjrFx82DDByXudKaDMLEjTDPGcxyrPR PhiUkGNPsmHtb2dByY4auaze8CNfDZ3tMVJw3v07OQhrZYbXicT9dLPEgDHAinZUC8hc lUww== X-Gm-Message-State: APjAAAXAzvF98qEjVlCz9gxF6+mW0Cap7g0TpEpppzftc63mT8n0KeRf AWCWxPN4jaouAJABISfx2lThTw== X-Received: by 2002:a7b:c301:: with SMTP id k1mr18719569wmj.37.1554736012178; Mon, 08 Apr 2019 08:06:52 -0700 (PDT) Received: from [192.168.0.100] ([88.147.51.116]) by smtp.gmail.com with ESMTPSA id g10sm21900262wrq.2.2019.04.08.08.06.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Apr 2019 08:06:51 -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: Date: Mon, 8 Apr 2019 17:06:47 +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: <938957C8-3A0F-4664-8D1F-A822F6D6D4E7@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> 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: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 The problem is ~100% of people and software believing to set weights and = not doing it. Paolo > --=20 > Jens Axboe