Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp21810yba; Mon, 1 Apr 2019 00:36:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWhZo04eFTM/okl6/dPHgsqS3OPTfOuwXGmqqbhYFbCRTpZM4D1H14KDd5gAt2RxB9e7we X-Received: by 2002:a63:7d03:: with SMTP id y3mr46021686pgc.8.1554104208278; Mon, 01 Apr 2019 00:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554104208; cv=none; d=google.com; s=arc-20160816; b=LDmanDOepR70ZEVHtc42WpIuR6jSCHFZv9iy3KAGlej6c7pRyizcWv5MLR+5rQz66U OexNAvNcA13vU8JBDW7rJoPHyWJwQAcmgXtcX2Hu1RJTM8Bxect8USdqpBOGV6q8Je7w e3KoS7DlgdICb49FV2W8CKaK8UbSgOTgHGL0fMww7Bgwa+l7IRsdh4j5cLmYM+GeBttb VRrAsH0QhgmYLDiEttL0TUWPRLdz4MfeuqlRcq+fKTO7LlcdxsUm91efkpuysFJWJEDd rZyuszY92nqCV0vduRFaJw3b75+Kq6m/+1+n5crTqRR+dnHSTL2IzllAhMtII/JL6gY9 obow== 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=HgnHH4QMhZeNy0jkJL3AsgW14xC+spIstOkNXOY1fIY=; b=jTD3Zlj15rjtCujMXREb7879blJ5Pdxp0RXt2DCi0LbkZjP9T6USLCYI6th4/nYIcl ku0J4BZWYWvib019GzhOH7cthc1ImJ9WMw/mL/mUInJNp28Q6e0dZxi6raQdfYdGR1qn M4upza/Yy8OjjqO68sydYF/5ki+DW9cPHRTT5DyEVjswII7dzn8Z3BOMmXrl5sMojPcG bNAKzo1wcr2gC4vfVplJBJFPS9paxvxY1kl652q7SG2eUEWMxmCw6RCKC7OPaa7UB2ZE THg04qcbdHpDEkJ0tvT/lG10X6ZgN2okxIfv+rFBD1T8m3CE5szQ5hiFLMDngarAQ7FL wZMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nSZr6qEf; 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 l12si8394091pgs.184.2019.04.01.00.36.33; Mon, 01 Apr 2019 00:36:48 -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=nSZr6qEf; 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 S1731972AbfDAHee (ORCPT + 99 others); Mon, 1 Apr 2019 03:34:34 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41304 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731956AbfDAHed (ORCPT ); Mon, 1 Apr 2019 03:34:33 -0400 Received: by mail-wr1-f67.google.com with SMTP id r4so10521690wrq.8 for ; Mon, 01 Apr 2019 00:34:32 -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=HgnHH4QMhZeNy0jkJL3AsgW14xC+spIstOkNXOY1fIY=; b=nSZr6qEf2qDavdnD1eR79hTtwBpzcjbxzxgAZJdrgm+QkYH/8wFxtFraHxbVCxqXUj 1QrPKARECSzpdEHyx2iLgHZ0j8gNOQLYFsp1OWP8k5DvoXKVieQwFsRGxzr2QiLcBS6T qPpgAEZZEB0FihwwwgfTblInDdTQdnSfZtPqykIUDhKL09MaP/Db4gCkRpb3Ot0IUM/6 KEUWIXXBhKcIlMMSkxD6cy79ekPDVOXXgGAiNfV2llPHE/pA+eVT4Sft8ThFBtO+SICi mEssdQ+JdFhLmSll4fqqVL+hsRaKwRnZtMUiACh5IEGeIC1dhC7XLcveTlDYY/Bc0yKB MogA== 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=HgnHH4QMhZeNy0jkJL3AsgW14xC+spIstOkNXOY1fIY=; b=V0cEBsAL3axKMTV9pGv/zwu4qgnsoAQpdvqbJynZ76pU3QUyGiVCY+ljQJ9ZF6U1Bm 1L0NsJeWmmjcvENn/ZzDx7zy1GnX374rCgElmvUbZOvAHXf6gLD7OvmTdfzbEoViOvxz CK+yRtN3UG+xxV9a+QYyC349upO5XkFVx4Sk5v95FemkDjdRjnkSFqkT7TXVMBRrZtIv TARwf5t8a6o7Yz7fbJziiyPoJJplHvGspwFnApfHUByPum1NZXbY+LUjEa39n3Hx8bSP mg6xLoVLpS4bbazWHTEdDq+0fXbi+OwLzFEQJg0LoAQZgW3jzmvrjsuq4sRMmNBVMWXl 1uog== X-Gm-Message-State: APjAAAUUlV3XkEvOtEEiWQrDClRBI77y5569XMCiBXLFf9QhucqQM3Kc y6y7EPk9NsxX6Xo7DHK6L5W7kw== X-Received: by 2002:adf:f088:: with SMTP id n8mr42740299wro.112.1554104071779; Mon, 01 Apr 2019 00:34:31 -0700 (PDT) Received: from [192.168.0.101] ([88.147.53.253]) by smtp.gmail.com with ESMTPSA id o10sm12424799wru.54.2019.04.01.00.34.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Apr 2019 00:34:31 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH] block/bfq: fix ifdef for CONFIG_BFQ_GROUP_IOSCHED=y From: Paolo Valente In-Reply-To: <3c87a84f-9fb2-2407-a5a3-723b314d8e58@applied-asynchrony.com> Date: Mon, 1 Apr 2019 09:34:30 +0200 Cc: Jens Axboe , Konstantin Khlebnikov , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <319AA9FF-48BD-40D9-A272-17C6BAFE917F@linaro.org> References: <155386807826.3190.16175453392005064129.stgit@buzz> <5234a971-2b6a-47b1-0071-8f3bd07d9fc3@kernel.dk> <6be15f08-dbb4-6b43-3d95-44044f1acdbc@kernel.dk> <3c87a84f-9fb2-2407-a5a3-723b314d8e58@applied-asynchrony.com> To: =?utf-8?Q?Holger_Hoffst=C3=A4tte?= 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 29 mar 2019, alle ore 17:44, Holger Hoffst=C3=A4tte = ha scritto: >=20 > 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". >>>>=20 >>>> I'm hesitant to apply this, since the group scheduling stuff has = obviously never >>>> been tested. >>>=20 >>> 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. >=20 > Yay. >=20 >> The ominous nature of my reply I'll chalk up to your interpretation >=20 > Fair enough ;) >=20 > 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? >=20 Paolo feels a little bit ashamed for this mistake :) This horrible typo may also be the cause of the crashes recently reported on this list. I've just asked to try this fix: = https://lore.kernel.org/linux-block/626EAE58-63C1-4ABA-9040-9D9A61F74A0D@l= inaro.org/T/ And yes, I agree that this fix should be applied to 5.1. Thank you Konstantin for spotting and removing this bomb. Thanks, Paolo > -h