Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1566298ybj; Fri, 20 Sep 2019 12:33:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7ggnArzFDaWy/xRFbEXKhPG5juJELfuq0QRvyoqFaSLY4Y/2BomVu8HdQzvilRFqLJTHV X-Received: by 2002:aa7:dd11:: with SMTP id i17mr24470248edv.147.1569008015596; Fri, 20 Sep 2019 12:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569008015; cv=none; d=google.com; s=arc-20160816; b=Q1JaBcLrRfGLNgjUmP3+5Xby9K3zo1t6Y1GuVzirnR52VJOr9EhkhM0caBqN0gZ63d yCD68u8UJhdoRiQ5LmpI8Qb40u3V+nqbGYju3kDKpPOiQjWUFD95t6iEir04a8NuDVOS +xbX2m9c/LOO55IUHC3NMKDIryL0WADPV7Ty1f7ZpkjK+q8/BNwQzP7Zr5f4R/lMuOCl Pk7GROahjXSSXjL74tk945mKBQi477aflfn/k8Vgf7Ulrp9yNZYltyxpXRXR0z5PJVRn ZQUclBQxX8se9Ls8SVWjFgw929kgQUqLZ00QsqWQPqL+4JrUNJaakMyykWoRWnAZRa3B M9Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=V5857UdtPy5LB2Qj3lCJ6EALsf9VjY4ozTOyQCCtBGw=; b=w6dyO7aa2cG19kGLL1+PJvn6riVeUUC7Uw8SSUIYVdb8YWs7lTe9EL+Io8YdUDV6iX 5qjQl7YCuVN/vBh63rcliNw0ARAo28CX+ZfnkJPM8JRPN0QT5NYu9jCiXAZoK+5n77T9 Z5SEO8CCxmuVnLxrE7g2RStvsKFItvU8hhdyLjH+wBV6NWKkQ/cOQoeXHjJJXtWGls+7 /70AyHKAtIwJIEzp0mo7bbvL7qx8vDyrdQbTANlsI7PjV3GzUiHI21T8U39v43wwm2ka AFfsnlu2Q88mrUn+qh6cimeDPJhcRLemEOEzj0Zk29fCEA8ruQUD1g8wtK6kusHvROU0 Ha2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=UEGHzk2G; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g22si2075216eda.27.2019.09.20.12.33.11; Fri, 20 Sep 2019 12:33:35 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=UEGHzk2G; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727095AbfITNFK (ORCPT + 99 others); Fri, 20 Sep 2019 09:05:10 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:39315 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726628AbfITNFK (ORCPT ); Fri, 20 Sep 2019 09:05:10 -0400 Received: by mail-io1-f66.google.com with SMTP id a1so15972157ioc.6 for ; Fri, 20 Sep 2019 06:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=V5857UdtPy5LB2Qj3lCJ6EALsf9VjY4ozTOyQCCtBGw=; b=UEGHzk2GzwFGmTZh0bMvpjw+ZTxI4UuQ46JyhNc+Q7HgzhT1dG+11UmOyBzCpzQY4s lk0MHF/15pJ7XjuqR2/lGIxxUGl9/8RAU8Zu5Q4+A87uAvB2t13t+QAbeQO1Q1fw1gBB ZKRFpb6au1iAuYTH0VI59bC2ky2zo+61KNrjyIPqi73XMkKrZgsxPm45Xx+1wRaiL1S2 EHtqIVjnodF5mn1wkgbC470zLtNPMNlVg1obE8ddgNMN+j1iSUHapYTYLu1PtWAJJqQJ GQmXaQJEI/B66NhZgBExVjFcbXoSZMcvweZ9GTrE3E9tluhNTRhuaRzM1nZr/e08JnmB 1pSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=V5857UdtPy5LB2Qj3lCJ6EALsf9VjY4ozTOyQCCtBGw=; b=BjpbkYRDFf4PAuS3q0UdmI6st99sHXkgAphDmAqa/pE/8AE/9smbxC0GX7T2AT0Ox2 QWJ7BSykQTjFMlLtrj0zZ5bdkvxCpIilaLc7Yq4D5ukumXQAZoUF0rBXiNtW3AmNBT+b Rw5KpmAzx/Z0kjP+S4aKXYaTANiWtd3j/m/V+igE4KZ37vW2TB46DIAUpDYrfeQ5cnJJ MhCo+L/CkzqDtl1fejKHvu5s12GnUYAwaKVxL66CKIZPYZiS8yCYoZseuQgwwggALiKt n4i3DN++X6+IRbHn3cRaW8IphcpQnGnL8f/JMREqpH6Lf0zGqMT+KI9IOzY0wZd5fvI5 x8Ww== X-Gm-Message-State: APjAAAXkCyWcVKMTnDYgeghxcl3TtvMJoYTbuV/C2KZhoOCpqOkg2LGJ 6KZnsI+ow22gWeWmATl+z0/e7A== X-Received: by 2002:a5e:8218:: with SMTP id l24mr13613162iom.56.1568984709226; Fri, 20 Sep 2019 06:05:09 -0700 (PDT) Received: from [192.168.1.50] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id m5sm2293192ioh.69.2019.09.20.06.05.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Sep 2019 06:05:08 -0700 (PDT) Subject: Re: [PATCH 2/2] block, bfq: delete "bfq" prefix from cgroup filenames To: Paolo Valente , Tejun Heo Cc: linux-block , linux-kernel , Ulf Hansson , Linus Walleij , noreply-spamdigest via bfq-iosched , Oleksandr Natalenko , cgroups@vger.kernel.org, Angelo Ruocco 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> From: Jens Axboe Message-ID: Date: Fri, 20 Sep 2019 07:05:05 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/20/19 12:58 AM, Paolo Valente wrote: > > >> Il giorno 18 set 2019, alle ore 18:19, Paolo Valente ha scritto: >> >> >> >>> Il giorno 18 set 2019, alle ore 17:19, Tejun Heo ha scritto: >>> >>> Hello, >>> >>> 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: >>> >>> Linus didn't like it. The implementation was a bit nasty. That was >>> why it became a subject in the first place. >>> >>>> 19e9da9e86c4 ("block, bfq: add weight symlink to the bfq.weight cgroup parameter") >>>> >>>> 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") >>> >>> Note that the interface was wrong at the time too. >>> >>>> So, Jens, Tejun, can we please just revert that revert? >>> >>> 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? >>> >> >> 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. >> > > 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. Retaining both interfaces is arguably the right solution. 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. 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. -- Jens Axboe