Received: by 10.223.176.5 with SMTP id f5csp520019wra; Wed, 7 Feb 2018 03:13:17 -0800 (PST) X-Google-Smtp-Source: AH8x224yyeGf9rl4NaWU6WFLWPQIgQzp/1VqH/IGzaFXQ5b1Q1RHg2lz9XCC/ZwbJFbG7yAfH7Y5 X-Received: by 10.98.209.8 with SMTP id z8mr5697299pfg.240.1518001997803; Wed, 07 Feb 2018 03:13:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518001997; cv=none; d=google.com; s=arc-20160816; b=S61W6WkZDL4zmO7zTRve00xxcZogDoHPQk5aoz8hJHTRx+oSx877ARvbmxX+CplBXV bjhlaE0YcRN8Nsffl5QQ0gDgbsF27VYRM4w6al7/mfffueuyltgp6V+DD5ecfbTJ4P5Q E0OX6oCI5EDE8HU5YPMJkGuO75qRuOG+sqxPsMf9ZYLRgJGkgRJjrnuLnkv7Rfb3nGIL BgUvnvc/+Vx/lf0548/9JeF1VhIJEyixO8TD+MbGLV2Gbz+Hw9Gl0vUM/iVvgbj83jLc tTkEZTbEfY2NO4nYyShGA7M9xc3Ge2yUBYStuLzKYahHExzSfPLtAOPwXUgkeZV8vD1w //mA== 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:arc-authentication-results; bh=anxn8n/idl8dikPPsVloa3EbEjqBap5OOvfyMH7rgrA=; b=rf/oF7Vz9EY72Ipk4R43BGV9hxJjGUfAYEn32cpKmTiSH2Wy2J1x4FeUjFOkMJslHi uQDMd4h0cTBLAV74e7Kefom61rr8ttoxwuNVLkTGOfazg0WeECuP2N0I/Np8RwFXdCf3 /d2No34lSvWu++/c92SgfOdY0zGozyAgce0itIUza2n/a4mDUkSN7UXXuh4vHSKqTqWf qDbIRvdfGbibLtc/HN07lqhNK1cFQ4/48JSOlUvIyAIXUKbuqn6AULj6OY1FkRk+esBn PicHq+BA/KFujqyuxmz4014TNu5TTAUMAGTP32YcWc318L/ltwn+mg0mpa1n+x3QfMBP 1mlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SYYlnb4u; 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 f1si814667pge.494.2018.02.07.03.13.03; Wed, 07 Feb 2018 03:13:17 -0800 (PST) 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=SYYlnb4u; 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 S1753809AbeBGLMY (ORCPT + 99 others); Wed, 7 Feb 2018 06:12:24 -0500 Received: from mail-wr0-f179.google.com ([209.85.128.179]:43679 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753454AbeBGLMW (ORCPT ); Wed, 7 Feb 2018 06:12:22 -0500 Received: by mail-wr0-f179.google.com with SMTP id b52so559107wrd.10 for ; Wed, 07 Feb 2018 03:12:22 -0800 (PST) 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=anxn8n/idl8dikPPsVloa3EbEjqBap5OOvfyMH7rgrA=; b=SYYlnb4ulWWc3iXEoFle8BY6VnMbDvPV5SgaYy2dQEx+CJO//hE1X6Ih8LwC0ZpmIy npJZRfHm3z61cJJkddZRgUbLU1reWS/ag8XTkA/eVv41eGgckLAbCqTN4xR390sma6bL OBGTELWfcQJDPW2qXdVUVbVftOXykyaMIhDeQ= 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=anxn8n/idl8dikPPsVloa3EbEjqBap5OOvfyMH7rgrA=; b=nCkGZMonDq82WGaCvZAKc4fLPd1v+2R0Lz4xgntISgRTzAqgalFxdmxTG+hCJP6+Pv qVEpskotPv5mLC7o3t7pwORNfSlidzG5znl8uTlxi9Bq81KhIG/NrryOamehrwj4Wvz/ CQmyTo0kIeglyBpBd6LV5sgxmKg9UwXZJubV2Ylf4h6VA2okEeR+CW/+3MWClAvz/Hnr av9HgF8aOFcxbEnZDO5YS3T3mX0xe5PjNWk69t2aOU36tY1rv4FmgmlFZygle3/mEc0d bXBz7TWDIW03AN97iFJ7uIF8KvjUcT+l3PMYAh/Zy1dUKBw9puu1VoyUc+nA+c36uxHs Za4g== X-Gm-Message-State: APf1xPA3Jctsi2p/AU0MLkhc2rOcMl30W3Z/WiwCFD9bgMnNVsY/n/hN 3d9sKAvFRAkIHb+EKaKuAshgtw== X-Received: by 10.223.178.202 with SMTP id g68mr4805907wrd.189.1518001941712; Wed, 07 Feb 2018 03:12:21 -0800 (PST) Received: from [192.168.0.100] (146-241-57-178.dyn.eolo.it. [146.241.57.178]) by smtp.gmail.com with ESMTPSA id 39sm1587332wrz.85.2018.02.07.03.12.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 03:12:20 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: [PATCH BUGFIX 1/1] block, bfq: add requeue-request hook From: Paolo Valente In-Reply-To: <1518001397.29698.6.camel@gmx.de> Date: Wed, 7 Feb 2018 12:12:18 +0100 Cc: Oleksandr Natalenko , Jens Axboe , linux-block , Linux Kernel Mailing List , Ulf Hansson , Mark Brown , Linus Walleij , 'Paolo Valente' via bfq-iosched , Alban Browaeys , Ming Lei , Ivan Kozik , SERENA ZIVIANI <169364@studenti.unimore.it>, Serena Ziviani , =?utf-8?Q?Holger_Hoffst=C3=A4tte?= Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180205190510.5499-1-paolo.valente@linaro.org> <20180205190510.5499-2-paolo.valente@linaro.org> <1517903761.9843.12.camel@gmx.de> <899B68CC-5955-4418-8BFF-DC55A743A61B@linaro.org> <1517918234.25841.31.camel@gmx.de> <77124223e6116350a5184a5199850304@natalenko.name> <1517924768.25841.32.camel@gmx.de> <8842084cc8a26b7f46ae600bda8a7bd0@natalenko.name> <82ffc96aacc3945861cbb708df346338@natalenko.name> <1517995431.25619.5.camel@gmx.de> <1517998516.6606.1.camel@gmx.de> <5584030F-8F4E-4C98-84A5-79873A1BF775@linaro.org> <1518001397.29698.6.camel@gmx.de> To: Mike Galbraith X-Mailer: Apple Mail (2.3445.5.20) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Il giorno 07 feb 2018, alle ore 12:03, Mike Galbraith = ha scritto: >=20 > On Wed, 2018-02-07 at 11:27 +0100, Paolo Valente wrote: >>=20 >> 2. Could you please turn that BUG_ON into: >> if (!(rq->rq_flags & RQF_ELVPRIV)) >> return; >> and see what happens? >=20 > That seems to make it forgets how to make boom. >=20 Great! This deserves to be celebrated with a packet of Ikea chips. Just to be certain, before submitting a new patch: you changed *only* the BUG_ON at line 4742, on top of my instrumentation patch. Thanks, Paolo > -Mike