Received: by 10.223.176.5 with SMTP id f5csp452612wra; Tue, 6 Feb 2018 01:39:25 -0800 (PST) X-Google-Smtp-Source: AH8x226HOq+7xRVwoTy+5OYk/x/kg430Qn1M196gPCgAu+Asc1qcMUFaluQ3YnqTTTXVw+qHFj8C X-Received: by 2002:a17:902:44c:: with SMTP id 70-v6mr1772862ple.221.1517909965467; Tue, 06 Feb 2018 01:39:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517909965; cv=none; d=google.com; s=arc-20160816; b=gqHPT5ea4TUn62CsBfZdN8LKa1WnIU7XNrJFfDnKtpIMIG5OaZBCBI/F0DbKknDWS6 Cia5J51jNkWBwZ/wGoP13woA7TA96EH8rTvdlKF0+kQOvemz9Pe9Q5OUpvvuYfAGp+0E O62gGHr+0idBGoNBTUaAUCzh5Ts6POPIcufiXEsURLpOfBB02o20U7kbJ88FgoPo90qU xirrhf3IDIUTbtHH7AUx5YsfigIPaYDIOKA9D16RvsL0z7FEbHTxALIDB3Yn+7UGi76r ZkNnLRn8ZnSIq0jdTyCbfLkH1qbMcC8H/RQ/0UG2FHg2FeELk0FR0aAJMJmfjhDr+Jfd bJtA== 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=5mPRvD9Ev0CUJ7XIe/mBIoGOO8b8n8E10VXPqqfoRyI=; b=V1vTezqsIgVkV7jjXuI8X0jKseW2AcFtlktVL0+byJ/koBI+chIGftV1RGWDtBbwkg j49prdRma6zVkBaWOh9QAdN+9WDHtyCyhx0Qf+ETZ7yecd0Oc1ZwxF+vASAxr3OaCDxm NItJBHa36QcWl8LJJSrHR/uf4v45V8UilZ2W3wmbDzPCj05c3stBMNs5cnNTGNVCr4Er u08ObxLnLYJIk4UCnnJ6LBB1hQ97IoQmoakCwk4pM0tGVPfjmHpb66JrZBwu1Nrhak8U yUhwHK7gxKr3DDrT0u1EyX7WqUjdzjNOxVNzfFFmeZ1tbhnGdYf9fjXI07N8XazYPHG9 Pf+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T+52dcCC; 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 p2-v6si1005659pll.733.2018.02.06.01.39.11; Tue, 06 Feb 2018 01:39:25 -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=T+52dcCC; 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 S1752656AbeBFJi2 (ORCPT + 99 others); Tue, 6 Feb 2018 04:38:28 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:53226 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752263AbeBFJiH (ORCPT ); Tue, 6 Feb 2018 04:38:07 -0500 Received: by mail-wm0-f46.google.com with SMTP id g1so2424302wmg.2 for ; Tue, 06 Feb 2018 01:38:07 -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=5mPRvD9Ev0CUJ7XIe/mBIoGOO8b8n8E10VXPqqfoRyI=; b=T+52dcCCs6aIeagBu7YMGhRSz6PZaY79Y82H/uSf4B671LJEyGM/aOJPRO4ACYfa2Z 6fE66WMtr+WeNQIYNTyX0+afbjy6L3cCdoom0LK0Z26NFi6fUeq0CF35eKGu4LNgixy9 b5pf3rtSB8XOY0hiwh6pvWgtGP20JXG8a5ZUI= 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=5mPRvD9Ev0CUJ7XIe/mBIoGOO8b8n8E10VXPqqfoRyI=; b=UomPOeIwJi0tk6xRp3VOYbF9yL2JbsjHU5pdXX++R+WSLjuVAEZJJ7Yy/N92cDpPdy +9tXaBQ9AsIMpBS3IQBlQsHE1HjW4Veo9I6bWwMRsUFJ8mcluCEKQnxTu4V87FtgB+4X Qejns6ubdACBDTJ37s5zqj5bxQmH8UYATya2P4w0jHaK2h9Woj7bHk4S0qO3+Jf6ci7z PGwR1gYGKe/oUJg5ERLqxTIb9y7CNqyLY8O/GwFA9W5wdxw6ycK7CMjF2vi72j1GtPIk 922DRNPSZvTFgIhsSs0zHf9ziqId5C+91kKUhEHuxTe7iw53Xxi2np6BcLWy0xUEaL9J 1pQg== X-Gm-Message-State: APf1xPAgSNv7eUgiIJkPhurHC4TCoqdZpbL1sNVilkgYkNCaCkfTd6/G xtUwOdssok9HBQOnCPbCsfSytQ== X-Received: by 10.80.244.188 with SMTP id s57mr3016418edm.88.1517909886292; Tue, 06 Feb 2018 01:38:06 -0800 (PST) Received: from [192.168.0.104] (146-241-18-147.dyn.eolo.it. [146.241.18.147]) by smtp.gmail.com with ESMTPSA id b27sm8920415edc.28.2018.02.06.01.38.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 01:38:05 -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: <1517903761.9843.12.camel@gmx.de> Date: Tue, 6 Feb 2018 10:38:03 +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@redhat.com, ivan@ludios.org, 169364@studenti.unimore.it, Serena Ziviani Content-Transfer-Encoding: quoted-printable Message-Id: <899B68CC-5955-4418-8BFF-DC55A743A61B@linaro.org> References: <20180205190510.5499-1-paolo.valente@linaro.org> <20180205190510.5499-2-paolo.valente@linaro.org> <1517903761.9843.12.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 06 feb 2018, alle ore 08:56, Mike Galbraith = ha scritto: >=20 > On Tue, 2018-02-06 at 08:44 +0100, Oleksandr Natalenko wrote: >> Hi, Paolo. >>=20 >> I can confirm that this patch fixes cfdisk hang for me. I've also = tried=20 >> to trigger the issue Mike has encountered, but with no luck (maybe, I=20= >> wasn't insistent enough, just was doing dd on usb-storage device in = the=20 >> VM). >=20 > I was doing kbuilds, and it blew up on me twice. Switching back to = cfq > seemed to confirm it was indeed the patch causing trouble, but that's > by no means a certainty. >=20 Hi Mike, as you can imagine, I didn't get any failure in my pre-submission tests on this patch. In addition, it is not that easy to link this patch, which just adds some internal bfq housekeeping in case of a requeue, with a corruption of external lists for general I/O management. In this respect, as Oleksandr comments point out, by switching from cfq to bfq, you switch between much more than two schedulers. Anyway, who knows ... Maybe this report will ring a bell with some block-layer expert, or, hopefully, next feedback will help puzzle this out. Thanks, Paolo > -Mike