Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2631264ybj; Mon, 23 Sep 2019 07:01:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqytQL1tu9fcLyv4y+yZRABEFU8qVQq2t1UXwhzhxP2OCOvz9qepl92XH5GWB2BBFDtOP0m3 X-Received: by 2002:a05:6402:35b:: with SMTP id r27mr203066edw.140.1569247319261; Mon, 23 Sep 2019 07:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569247319; cv=none; d=google.com; s=arc-20160816; b=xA4NdsPg1iKsMJ5kup2XTuyRRt/9wfD2lfuN81uH/4LSDJEg7fj9uTIpcMiTg7+rNh maHV7czouLRWHwtMY19jYN3QiEz/l1j6hco31g2mI23BKbfuDQt7S1PvE9Pmx5zHNwSs TLA/cs4mmHFDgrBhzwLNtcejutHor+0yFWXQ1RdYaWZFmCr4Z+jgYux0PdDdLFx6Uw4P cuyg07ewEf83vkTNYlszU+OwSqfKIb5i7zRf+tiPhzkAPHavT+IeE83n5UQ0ZwDDec/U xNXehZNg0Ae4Bmb/WlitfqEUUCUJJb3fIA4nhGDYhlLQoyM7qktMGYGBKFrpkmILCxg9 GnHQ== 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=G+3UPEhERrKETlk0FsuOwaqKLSxXjoLtJQ8TkFpUanQ=; b=SOlfGPCGxF4v8Q8OgtB2T9Th2Q/TLN+KtpKwR+Rmmnde+wCMLIsdQQPM7XZkkL499b WY4WMZX0KC1nPUOmWlHFhNosing6TK4jwldfZa315fivm0I2Ip3k9q6NtxVFxrgfOCZi 11KH+bWcijwBd+sBPdIqulmv+0074C/ladP/gtgvNfLubF2P7/6NqqJUtHeRNW0hIOXj k+jQ0tm6J9U8fgDqvzPhJdWTMOPT/SA3AOJQQ7AJ/N5D3u9+SSop25r5lRMP9GuaghR8 6Ye/eYfmBX+oiZvRDLtPxIEgsELt7evitzEXl659vde91smTDubNfplMm4fkeI5Y2gfp U2Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=evkEodFP; 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 ch10si4995865ejb.89.2019.09.23.07.01.34; Mon, 23 Sep 2019 07:01:59 -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=evkEodFP; 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 S1731029AbfIUG4E (ORCPT + 99 others); Sat, 21 Sep 2019 02:56:04 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45045 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726451AbfIUG4D (ORCPT ); Sat, 21 Sep 2019 02:56:03 -0400 Received: by mail-wr1-f68.google.com with SMTP id i18so8790524wru.11 for ; Fri, 20 Sep 2019 23:56:02 -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=G+3UPEhERrKETlk0FsuOwaqKLSxXjoLtJQ8TkFpUanQ=; b=evkEodFPsQCy9q6aV3S9m0L2g7DE6Jx4M0MnI0imvyxJMf176t1gVqZYI3GQbP0Ww9 2lD47ST6Shv9mG6w0mER4CKLC+uBdRfcdMal7Qqp21MqL2IOZry3tch/Or5s+nez9jo/ x4Zc6AW2/ZdQ4WTW3QnN994vYcNDJtJm/Lj98TlUV42VFytLSWzKJTK7qCUT7ONxKX8l 18O9Hax99+RMyOmpzbHROpEnGpRuL3tItse+yn0TYvtYP6y3dUNF4GpyLMWcYN3KXAda 8dH9eS2f50YIRSPt3C6QxBRVCBBqZISO60GiNPJ22ZdB1/6Oyi3FrNQH0N+z43kOn5CF NPYw== 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=G+3UPEhERrKETlk0FsuOwaqKLSxXjoLtJQ8TkFpUanQ=; b=cbMV/FyvQR0ASl5og3h32OudbH3dxw5FTdEbAb1uD+INSw3sS/mlj+NfH1r/Vl98O6 v7iEPF+h2YYc+RH1eaBcld/aeNOfdObxkSv5qBs5b0WZKiHc+m0R5y4kdjsLNmJ0PToH XzUgMoYuIR5RylVY/qHlDHjDCp93huPxnaPa+28WxeNmxm5rbm4ULpOsIln3JrxoVsS6 tlDpVTd1Ulmgu+JvN0x5lL4l+nwGciGLhC7lY6cqR+Qv1BnHWnYszMDmRrLJr+zTVKRL /hnR5Rnv9vJIP7xQQ2sGNSv0j8VfjS3lGlNOov6N60iAQ+BdZsfJxV/XkEhsWzizjwnv Zhhg== X-Gm-Message-State: APjAAAWmiZMFssJuBwcaoG9E4UdScIbQOPG6Pyd3+/+D9j5uWbS3eAdw EechVLIYiN7tpODLULerGFHS7Q== X-Received: by 2002:adf:f008:: with SMTP id j8mr15366854wro.75.1569048961373; Fri, 20 Sep 2019 23:56:01 -0700 (PDT) Received: from [192.168.0.102] (146-241-16-18.dyn.eolo.it. [146.241.16.18]) by smtp.gmail.com with ESMTPSA id q15sm7958160wrg.65.2019.09.20.23.55.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Sep 2019 23:56:00 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: [PATCH 2/2] block, bfq: delete "bfq" prefix from cgroup filenames From: Paolo Valente In-Reply-To: Date: Sat, 21 Sep 2019 08:55:53 +0200 Cc: Tejun Heo , linux-block , linux-kernel , Ulf Hansson , Linus Walleij , noreply-spamdigest via bfq-iosched , Oleksandr Natalenko , cgroups@vger.kernel.org, Angelo Ruocco Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190917165148.19146-1-paolo.valente@linaro.org> <20190917165148.19146-3-paolo.valente@linaro.org> <20190917213209.GK3084169@devbig004.ftw2.facebook.com> <4D39D2FA-A487-4FAD-A67E-B90750CE0BD4@linaro.org> <20190918151948.GL3084169@devbig004.ftw2.facebook.com> <4F416823-855F-4091-90B9-92253BF189FA@linaro.org> To: Jens Axboe 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 20 set 2019, alle ore 15:05, Jens Axboe ha = scritto: >=20 > On 9/20/19 12:58 AM, Paolo Valente wrote: >>=20 >>=20 >>> Il giorno 18 set 2019, alle ore 18:19, Paolo Valente = ha scritto: >>>=20 >>>=20 >>>=20 >>>> Il giorno 18 set 2019, alle ore 17:19, Tejun Heo ha = scritto: >>>>=20 >>>> Hello, >>>>=20 >>>> On Wed, Sep 18, 2019 at 07:18:50AM +0200, Paolo Valente wrote: >>>>> A solution that both fulfills userspace request and doesn't break >>>>> anything for hypothetical users of the current interface already = made >>>>> it to mainline, and Linus liked it too. It is: >>>>=20 >>>> Linus didn't like it. The implementation was a bit nasty. That = was >>>> why it became a subject in the first place. >>>>=20 >>>>> 19e9da9e86c4 ("block, bfq: add weight symlink to the bfq.weight = cgroup parameter") >>>>>=20 >>>>> But it was then reverted on Tejun's request to do exactly what we >>>>> don't want do any longer now: >>>>> cf8929885de3 ("cgroup/bfq: revert bfq.weight symlink change") >>>>=20 >>>> Note that the interface was wrong at the time too. >>>>=20 >>>>> So, Jens, Tejun, can we please just revert that revert? >>>>=20 >>>> I think presenting both io.weight and io.bfq.weight interfaces are >>>> probably the best course of action at this point but why does it = have >>>> to be a symlink? What's wrong with just creating another file with >>>> the same backing function? >>>>=20 >>>=20 >>> I think a symlink would be much clearer for users, given the = confusion >>> already caused by two names for the same parameter. But let's hear >>> others' opinion too. >>>=20 >>=20 >> Jens, could you express your opinion on this? Any solution you and >> Tejun agree on is ok for me. Also this new (fourth) possible >> implementation of this fix, provided that then it is definitely ok = for >> both of you. >=20 > Retaining both interfaces is arguably the right solution. So you also are voting for BFQ to create two files, instead of having a symlink, aren't you? I just want to be certain before submitting one more solution. Looking forward to your confirmation, Paolo > It would be > nice if we didn't have to, but the first bfq variant was incompatible > with the in-kernel one, so we'll always have that out in the wild. > Adding everything to stable doesn't work, as we still have existing > kernels out there with the interface. In fact, in some ways that's > worse, as you definitely don't want interfaces to change between two > stable kernels. >=20 > I know it's not ideal, and some better initial planning would have > made it better, but we have to deal with the situation as it stands > now. >=20 > --=20 > Jens Axboe