Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2895558ybd; Mon, 24 Jun 2019 14:55:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOLvA5PIWUscZrcfLRZMvaQ62yy0zGhSddRi3GDRv0WywBXZ8avQu2vtBkZhNjH/tHHCYA X-Received: by 2002:a63:3d0f:: with SMTP id k15mr35281680pga.343.1561413319838; Mon, 24 Jun 2019 14:55:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413319; cv=none; d=google.com; s=arc-20160816; b=nuDTfgB7U8Lu06Dg3FzusOIhBoeT7fsvdFjo4jQdh8+Zkd9BR9Gmzgf1IXJY+W2Mjj ao+F0pPMwsPjLONpuvckcv0xQPR0AZ1IETjHBfXUB6xSodc0TAFQ8nlhFBeR3b8w4hYw w85oSLc4X15jxhdRF15saiFxaHyWpq2nEKcYb0IGa4256qajOO4Q0Wqo48KkQGUqemOD 9q5o6ZDVEeQpRnEC86L32u66P8J0Fn0cgsoPQ582ySs9iq2MJpfATDO1EBM2CYSVI/4L ON0m/0tPg3TgSvkGX/QgUNEBW1aJqNh02TKvZCjicsZpTuhcrlosh9PAt9R8gekTpt74 tCiw== 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=lxEW1OohvlQcLnagUdrYZ6F+TsIBwQcFUxd02nvE+RU=; b=v+jDS9uqHnWs/VYrdPcENGdz81Vts28DkLOu7GuDQKggZcS36v/JxonRkvAdcoQCgR gJYf7mBHnleDTi7feRyD4ur6yKazQBuRhVvi4mBlIprphfJtOnqxRaRJLpo8Im8JkPHR jPmQJmKkfPFEYCiUUwZkWZ0koUWdjHTg6Uj7yJk2T2EEJ+HYov34W8Yt3rYMm69mfGsF gUho51yoakAJkhYLNqdRIsVU74CTwfX68ZOdLCmlGD2qDmcIHuIjZdktEGKsw134mq7L Q09vRIjO4elFTNqAO9pFC1vX8cPN3L52vABKIg0k8wQAOCe2/Q90LOiFf5kQS/JNQUxG BcIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nZF7W2zl; 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 p3si11351429plo.185.2019.06.24.14.55.04; Mon, 24 Jun 2019 14:55:19 -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=nZF7W2zl; 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 S1730281AbfFXTSV (ORCPT + 99 others); Mon, 24 Jun 2019 15:18:21 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:32776 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728430AbfFXTSV (ORCPT ); Mon, 24 Jun 2019 15:18:21 -0400 Received: by mail-wr1-f65.google.com with SMTP id n9so15159911wru.0 for ; Mon, 24 Jun 2019 12:18:20 -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=lxEW1OohvlQcLnagUdrYZ6F+TsIBwQcFUxd02nvE+RU=; b=nZF7W2zlo265XbVDmUW32F/aZ/dmrJn/qv/ufMVAlkQ7G2TrlSGoiJV6JG7i5WkRNN myB610ho4vcL4xXltP4/bhb/3bomHurKJAsfS9/sIcp4N0WQCkdWItPgN45uKFCAwlIb Q+HZtCD4EYL+HhNkgFJ0kzouqPVZIneLjqPMjYxcH5WbR8IOn1BiWSKF3jpA3c3X8YKg VYmlBt00NjmVCB71z12QU+9+1ZW9ZomzmoQ1tgVxncZB3bJhN3+R5v0UOo2JgWHUvTL1 vxDKeEzSc/GSdp84fsOljLUkAhtj9f+SDApmZNGkgn3gTeigKk5X39cqqd5Ai70onFJ/ KnMw== 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=lxEW1OohvlQcLnagUdrYZ6F+TsIBwQcFUxd02nvE+RU=; b=JUANz2kNInVLuKUwanpNGjKsByUBiHb+yzV4mzF01aTktC8t7zr4QQZKxxchJyPxwO be+31vvfKmMGENZNqSg0tvkNQ6kVXmHpb3szRYvo6RVwst+DVf5yXiWq36lReRqOSYug aINU8TwbbhuKJudcLZlWapywpb9E+rAM1tU7QnAqhSByCZimPh180GCv9b+ysLSIoSic kbQLN2tvfPReFJ0Fxkfy6mywzvglesGksrLyBxL9eU1n2+jor3XfPnbS8dGiEsoBHr2R ImEy9LVAj90EgjVsKqPv8gOFY/ZVmZqMR8N2KF5ogBFZX+Gb7x10TPugnFfMeubmdpNa gtTg== X-Gm-Message-State: APjAAAU+fvVCtlDUgHJebsFfto3CGb7vThN3jAv1qpCnJ8BfChdpMWt9 U5aocOeIzddOijvyIGkl53l42w== X-Received: by 2002:adf:e301:: with SMTP id b1mr22616047wrj.304.1561403899298; Mon, 24 Jun 2019 12:18:19 -0700 (PDT) Received: from [192.168.0.103] (146-241-101-27.dyn.eolo.it. [146.241.101.27]) by smtp.gmail.com with ESMTPSA id a7sm12181604wrs.94.2019.06.24.12.18.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 12:18:18 -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 BUGFIX V2] block, bfq: fix operator in BFQQ_TOTALLY_SEEKY From: Paolo Valente In-Reply-To: Date: Mon, 24 Jun 2019 21:18:17 +0200 Cc: linux-block , kernel list , Ulf Hansson , linus.walleij@linaro.org, bfq-iosched@googlegroups.com, oleksandr@natalenko.name Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190622204416.33871-1-paolo.valente@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 24 giu 2019, alle ore 18:12, Jens Axboe ha = scritto: >=20 > On 6/22/19 2:44 PM, Paolo Valente wrote: >> By mistake, there is a '&' instead of a '=3D=3D' in the definition of = the >> macro BFQQ_TOTALLY_SEEKY. This commit replaces the wrong operator = with >> the correct one. >=20 > A bit worrying that this wasn't caught in testing, as it would have > resulted in _any_ queue being positive for totally seeky? >=20 Fortunately there's a somewhat reassuring explanation. The commit introducing this macro prevented seeky queues from being considered soft real-time. And, to be more selective, it actually filtered out only totally seeky queues, i.e., queues whose last I/O requests are *all* random. With this error, any seeky queue was considered totally seeky. This the broke (only) selectivity. > Anyway, applied. >=20 Thanks, Paolo > --=20 > Jens Axboe >=20