Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1711201ybb; Fri, 29 Mar 2019 09:45:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7kQhgTEircBcbUkoXxG5n2A1P0eSQqmtJsKaPhzT4Q0c/0Ru9b2YsDKcUbUZRwOWl9gbM X-Received: by 2002:a62:4610:: with SMTP id t16mr49360922pfa.217.1553877908584; Fri, 29 Mar 2019 09:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553877908; cv=none; d=google.com; s=arc-20160816; b=ITKk5DHTDw7zOJnp1OzULJ/44PAQX6azRjo/AV49PBid+08uxsL9iaR/YRVnIFeJgP lmmT+Co8RQ+w4S2Am/oP62B6kp7H9PQ1Pq963TZGhLrXS0vl5gAkc+xu6SMvTa3S1Tgq ETr972F8Tib4wpIKym4qbFNNaby/uSXvT0qczuvWZc9KsWunp4g1dtIvECQEWhwwipEU WTtZezUNGudzj6ye+Vrnxl9O20+mWCZ+M1C50mpbXcYVU126078+i1ZEJE3FUO0rV/iC k6umM3WdoyCAR1ko/cv541+LjROil/laBA9N4/66WVy+CWM0j8IdqFTMN2gFx7YP0iaG NYsQ== 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:organization:from:references:to:subject; bh=MW8wBc2OKLGf5JXqATUzVL88PQZJEONymbwIImQemyU=; b=MQF3ezf+1hiIbiM8SyVtCBc6hrNmWCeDhFRozBnqcfX8wpyWPe71OKNmzo6MKj+deh n68SL8yJ6fsT8Bt1tPY5zl1QmkGzFReSKy9BCjUE08W+4bNj2DAIXKYMySmbUdruJ58g bHd/f/MKSk9E+4dGW5dqa0fgSdx0nmYlqW7/p3wXQK1RuecFkDVy98f+ZqRecPskoQDN V52iYi9FHDpVxJq3PPZuW1TVzaI//WBu4VUOy9RFKiHm5tJNZXnXYdlDt1aNu1bA9kJ9 O0/v+ZmLyKmU0/nGUnnPHOmdcR9uMVlFpffEPRcRPVF6Gp21R43stnmyNuDsApLZsutO AHQg== ARC-Authentication-Results: i=1; mx.google.com; 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 w5si2139995pgs.268.2019.03.29.09.44.51; Fri, 29 Mar 2019 09:45:08 -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; 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 S1729702AbfC2QoP (ORCPT + 99 others); Fri, 29 Mar 2019 12:44:15 -0400 Received: from mail02.iobjects.de ([188.40.134.68]:46076 "EHLO mail02.iobjects.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729150AbfC2QoP (ORCPT ); Fri, 29 Mar 2019 12:44:15 -0400 Received: from tux.wizards.de (pD9EBF050.dip0.t-ipconnect.de [217.235.240.80]) by mail02.iobjects.de (Postfix) with ESMTPSA id 7FD264164E66; Fri, 29 Mar 2019 17:44:13 +0100 (CET) Received: from [192.168.100.223] (ragnarok.applied-asynchrony.com [192.168.100.223]) by tux.wizards.de (Postfix) with ESMTP id 4D335F01606; Fri, 29 Mar 2019 17:44:13 +0100 (CET) Subject: Re: [PATCH] block/bfq: fix ifdef for CONFIG_BFQ_GROUP_IOSCHED=y To: Jens Axboe , Konstantin Khlebnikov , linux-block@vger.kernel.org, Paolo Valente , linux-kernel@vger.kernel.org References: <155386807826.3190.16175453392005064129.stgit@buzz> <5234a971-2b6a-47b1-0071-8f3bd07d9fc3@kernel.dk> <6be15f08-dbb4-6b43-3d95-44044f1acdbc@kernel.dk> From: =?UTF-8?Q?Holger_Hoffst=c3=a4tte?= Organization: Applied Asynchrony, Inc. Message-ID: <3c87a84f-9fb2-2407-a5a3-723b314d8e58@applied-asynchrony.com> Date: Fri, 29 Mar 2019 17:44:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <6be15f08-dbb4-6b43-3d95-44044f1acdbc@kernel.dk> Content-Type: text/plain; charset=utf-8; format=flowed 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 3/29/19 5:15 PM, Jens Axboe wrote: >>>> Good catch! I run without group scheduling and therefore didn't notice these >>>> stray defines earlier. For 5.1 it should merge cleanly; adding this on top of >>>> the pending 5.2 BFQ patches required a small context fixup in hunk #1 due to >>>> "block, bfq: do not idle for lowest-weight queues". >>> >>> I'm hesitant to apply this, since the group scheduling stuff has obviously never >>> been tested. >> >> This is simply a regression in 5.1 caused by 73d58118498b - nothing else, >> and as such this fix needs to go into 5.1 as well. I'm sure Paolo will agree. >> What you so ominously call "the group scheduling stuff" has been there and >> shipping in mainline since day 1 of the BFQ merge, and it works fine in 5.0. > > If that's the case (I didn't check how far back it went), then yes, it should > of course go into 5.1. Yay. > The ominous nature of my reply I'll chalk up to your interpretation Fair enough ;) A more interesting question is why upstream uses undefined defines for patches. That's a first-rate self-grenade if I've ever seen one, and obviously something that is easily missed. Paolo? -h