Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2943854ybc; Thu, 14 Nov 2019 01:23:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzQLxk8POXKxdFdNuHmZO/MW4+xgnTOX1cf0YbLW85DQzseTCe/bF7xWMt+UKk6lKObs6Lb X-Received: by 2002:a17:906:938c:: with SMTP id l12mr7271769ejx.135.1573723421574; Thu, 14 Nov 2019 01:23:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573723421; cv=none; d=google.com; s=arc-20160816; b=dzCaA8jSaXKF9syhsBw0+ucsxahEbf07c3FA+43nHVF3A8YjBv+jTUTvwppkuyJyi7 7GRRFD8XQD5lFwhv+WQrIWxZXlbawcHG39HKR1053IkkXS34plBU2lP7ir1Ey2+rDnsK IANMiPNGQy5H7RgeyFqKcpD2APTfF6uy0fjWi/c/wq5jJjF9M+otbXgHquamdERFOIqc C8QACwtYi6HSa7ZSuRYftIKUXNiqkVUJhbKhhEjxb+3QPuiH97ClEzjEZ5OrbDM8qMCp sqiZ9GOHdnGjnm2SsBDPL17P4fCNNXnTRyzWdP4pt/hmDgIMZDFurZqvcQ9NSH7WpHFZ GSMQ== 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=wJ93PkxDUJ1eFbf5mpCbdbWAtZ8jBpbUP4t87omWe5I=; b=TL7hYCsGjN0ge9s3bK4hPzd8ETDnWLgNCEc675fuUD7cp2QtAeLDvG/fZXy1JNApRB 7BsSLhKbfXN3TdqZbH6mlB0sS52oPNx2TLbwChuEcjKbBWG017oe2zRfXyDz1PV/X7gR Zkecumt+YsIlv35XmW8v0an2hYwORmJIItnacYBPCOgpCLkMs1GEbq+GPgGqPiIS8yHW IeSid+9X95e36duBm4pLbKQPCG6z+S+6Q8pXI8aj/2oDmuH9kYAglOBM9r/e2BBvND6F 2d8KuU+N6Uc7AKwozEsZg3/BedA8/8pMDrDwo3yJIKWG+anTZRYoglwRnnzGQx9W/fmC y3Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YKbG0cp+; 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 a60si3622585edf.169.2019.11.14.01.23.17; Thu, 14 Nov 2019 01:23:41 -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=YKbG0cp+; 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 S1726678AbfKNJWG (ORCPT + 99 others); Thu, 14 Nov 2019 04:22:06 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:37578 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbfKNJWG (ORCPT ); Thu, 14 Nov 2019 04:22:06 -0500 Received: by mail-wm1-f67.google.com with SMTP id b17so5033566wmj.2 for ; Thu, 14 Nov 2019 01:22:05 -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=wJ93PkxDUJ1eFbf5mpCbdbWAtZ8jBpbUP4t87omWe5I=; b=YKbG0cp+oQfUnQXm58HEPevFGLfCfI894EifegP/RLnHiJlP2lsllzojqjbvMm7BCc sQ4sZ0qM5Oz25M6m21AQjB5iQ8VATszIxj1i2+DZik74AwzgSQElaqdnNW9vspA4R1bG dolrdpuzottQ5B4l7OczrvUQcigE2MfM/06LFsUT65NfS/Z/s/Z4Rtu0LbyFIjRrB37C YgNZZx16/TCWvodmMAtl3QpGS1X4qK0hHpV+5LpFwSGV51SvJu8CUmMnshvXpmxS0kl4 xYBQe5aTRGWmGfkHWLP8WnNdPVgRpGqH+Hle1mV7n27ht66sK6YD2aryYvHy4BG7m24Z o+Tw== 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=wJ93PkxDUJ1eFbf5mpCbdbWAtZ8jBpbUP4t87omWe5I=; b=UyVsGkKmbUbayiO2QeH5esvDrqbedIiJUKBFoX5mMA8xAHmMwmL+y0h7Ch/dN9MQ97 T3aPyIuIsqRDuDBCO61ELubGuAXutpF4aV4D/6z7j/pg3zGopD4vnXiwiowOgqjM8TDD Ri8ZOiAXqPvsv/aQZ+VB/64ssDmJSjwexcUfjXgGpHrzx44U/Y496VqB/NyVTCJKSmtz 87KeAUCpgSXVbNBK5E1M8IjJdjYC8B18CIQRtJUFDylB0H10DX60Jhs5asBbEQsqyUFe 43WZHcDHGrIUQfttL+xaofI0DRFuwMPXKs7t4fHcDt1pdGHJBp0kcX2/LYFIRzFJqPNv wDHg== X-Gm-Message-State: APjAAAW3RIeOv//OdjAIzriFHmpqJ0+duSu3O49P/c+AjNfYhNLWz8ho ETpl/kh6npVfjrGCIZrw/Z8Tiw== X-Received: by 2002:a05:600c:2944:: with SMTP id n4mr6947335wmd.57.1573723324250; Thu, 14 Nov 2019 01:22:04 -0800 (PST) Received: from [192.168.100.210] (hipert-gw1.mat.unimo.it. [155.185.5.1]) by smtp.gmail.com with ESMTPSA id n1sm6509398wrr.24.2019.11.14.01.22.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Nov 2019 01:22:03 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: [PATCH BUGFIX] block, bfq: deschedule empty bfq_queues not referred by any process From: Paolo Valente In-Reply-To: <8f77fb4e-a49b-4ddc-8756-e08b030dd7e4@kernel.dk> Date: Thu, 14 Nov 2019 10:22:01 +0100 Cc: Oleksandr Natalenko , linux-block , linux-kernel , Ulf Hansson , Linus Walleij , bfq-iosched@googlegroups.com, Chris Evich , Patrick Dung , Thorsten Schubert Content-Transfer-Encoding: quoted-printable Message-Id: References: <20191112074856.40433-1-paolo.valente@linaro.org> <2FB3736A-693E-44B9-9D1F-39AE0D016644@linaro.org> <65fc0bffbcb2296d121b3d5a79108e76@natalenko.name> <5773ff54421ccf179ef57d96e19ef042@natalenko.name> <69B451DE-B04B-4E0E-9464-826C4A7619AD@linaro.org> <8f77fb4e-a49b-4ddc-8756-e08b030dd7e4@kernel.dk> 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 13 nov 2019, alle ore 23:46, Jens Axboe ha = scritto: >=20 > On 11/13/19 10:42 AM, Paolo Valente wrote: >>=20 >>=20 >>> Il giorno 13 nov 2019, alle ore 16:01, Oleksandr Natalenko = ha scritto: >>>=20 >>> On 13.11.2019 15:25, Oleksandr Natalenko wrote: >>>> I didn't try to switch schedulers, but what I see now is once the >>>> system is able to boot with BFQ, the I/O can still hang on I/O = burst >>>> (which for me happens to happen during VM reboot). >>>> This may also not hang forever, but just slow down considerably. = I've >>>> noticed this inside a KVM VM, not on a real HW. >>>=20 >>> Possible call traces: >>=20 >> Ok, you may have given me enough information, thank you very much. >>=20 >> Could you please apply the attached (compressed) patch on top of my >> offending patch? For review purposes, here is the simple change: >=20 > FWIW, I dropped the previous patch. >=20 Thanks. I'm sending a V2. Thanks, Paolo > --=20 > Jens Axboe