Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2222669imm; Tue, 2 Oct 2018 23:55:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV606rdi9G1Gt6u5JdMGH4WCDCWYzYd+J3x+Aft/nvYl7+P2v+g0F6lgiLpjAlvvqLwvlJMqN X-Received: by 2002:a65:5cc3:: with SMTP id b3-v6mr66816pgt.277.1538549743422; Tue, 02 Oct 2018 23:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538549743; cv=none; d=google.com; s=arc-20160816; b=K2Ee55aydlPlDsyH1HcSvKCdYDDdvmBpZnUit1wsRvRCjzOZm5ROt6xYaBvnduCStS vsz4nlDufa1VykR2B79aCVHbhUoTVi3Wh6S3w5zx5ZcLYtORh3XjrPbLDyNs/Ktgm2F8 f+wYoztVXkGbGh64TxsrHJ+zytknIXxERLp2+tWFjs4GwjNnE5K3Z2vV4JTpW6Tvp5j3 D0kiqWqSymL13tVgWZUcW6kwrgjX7SvngIq6yB0D7HbQZJ7tLTag/ZlYYPaZT9k9ZGdP B58cH82la4zCQMAv1NoqOOi+ITuoaLD35WyOenETJaaGfuscKpt6PheFBQ+bsam+wyU1 wEVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=cQqfP4i7piZTeCWQHmtcxAIwoJQv/GM/NyXXmV5wpeA=; b=BY2J7aRAX7JUPz9p0U3VrOOZZ3/ioKETcWq2e3oDqi9vOIZs4sjaOH5iw4vH81MF4m FSB+lGEyKkcEVFjSAMeud4e1Q5cQky6xXDD1bjoNd5d6F57C3nDcO1c+5U4MMAbDkeFM Uc3U/Sfz2wBVDwTAdlPFPgOPGK9w6ONr6PPWbqHJV4RIZ9NPq0Z4yPG/Kzb6nfisntT9 hNDByEpiJUiNSNymOkvKlEzMvdI9/IzeN24TO1JOia5DPIaxzFaefAIUrOun64NAKNWu AvkPrM3e33PdQyU9qb4dFfIiEsb4ZXvvKvI8sbyqcn4sU3eMfbV7fBGZE3wnkgByISAW sRDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SOlYUEeR; 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 b10-v6si598320pfb.89.2018.10.02.23.55.25; Tue, 02 Oct 2018 23:55:43 -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=SOlYUEeR; 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 S1726964AbeJCNku (ORCPT + 99 others); Wed, 3 Oct 2018 09:40:50 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:41939 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbeJCNku (ORCPT ); Wed, 3 Oct 2018 09:40:50 -0400 Received: by mail-io1-f68.google.com with SMTP id q4-v6so4154488iob.8 for ; Tue, 02 Oct 2018 23:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cQqfP4i7piZTeCWQHmtcxAIwoJQv/GM/NyXXmV5wpeA=; b=SOlYUEeR3OSZJSl2LcUsT9iOR8oZUhZGM2MJm2hYupd4MGykUIUzuG2cwWxY2FzDRa LzzitwIxGr6oSQOaPMBEiLBc02u18yW/8JpLI3T2j8wmorWn2RUEEU9CCW1O8IUQhJKB /418uDCLrHLzyjn1CPmRXL6dZPNr9VYa0wsm0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cQqfP4i7piZTeCWQHmtcxAIwoJQv/GM/NyXXmV5wpeA=; b=BFXTKyqLKY+ihLqoN8nGQaY1xCkoDaDxOUgaU7IQyuE/+qG5QNtNcQDkkqHIwJo4Cn 1ioi31MlLkfPKOBqMulCdPGLyfsDff45Qm8TlSJN0gQuzbW/iHORwkK5AVAPyXTMDtSm QEP9kfBDl9p8fCpo557kXpM9Z+yXWFgtSybz5DuCUDvvsNeUpmgL/+vR5BNFo6De2npt lVizQ7yf27qZKBA15sl+nhtiGTUp/yPkRD8JOYwYncdVdrtmvK/oW3KzlSXRMd8yZKZk RSFcr7BOULCH/bMcLsXfPS6VLuXDxfJQzROgFABNIveUvCA7nAwCSdKSs8qQwEHhV5mQ s8bw== X-Gm-Message-State: ABuFfohigH3OjVjCv9gOL2yq613rZINfuw+wRLC6isB58niE6joylZsL k2CN8bjSIFy6Et2bnItVZXLoaZR6XRC8GYC7/+401w== X-Received: by 2002:a6b:4006:: with SMTP id k6-v6mr32035ioa.277.1538549628541; Tue, 02 Oct 2018 23:53:48 -0700 (PDT) MIME-Version: 1.0 References: <20181002124329.21248-1-linus.walleij@linaro.org> <05fdbe23-ec01-895f-e67e-abff85c1ece2@kernel.dk> In-Reply-To: From: Linus Walleij Date: Wed, 3 Oct 2018 08:53:37 +0200 Message-ID: Subject: Re: [PATCH] block: BFQ default for single queue devices To: Paolo Valente , Johannes Thumshirn , aherrmann@suse.com Cc: Jens Axboe , linux-block , linux-mmc , linux-mtd@lists.infradead.org, Pavel Machek , Ulf Hansson , Richard Weinberger , Artem Bityutskiy , Adrian Hunter , Jan Kara , mgorman@suse.com, Chunyan Zhang , "linux-kernel@vger.kernel.org" , bfq-iosched@googlegroups.com, oleksandr@natalenko.name, Mark Brown Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 3, 2018 at 8:29 AM Paolo Valente wrote: > So, I do understand your need for conservativeness, but, after so much > evidence on single-queue devices, and so many years! :), what's the > point in keeping Linux worse for virtually everybody, by default? I understand if we need to ease things in as well, I don't intend this change for the current merge window or anything, since v4.19 will notably have this patch: commit d5038a13eca72fb216c07eb717169092e92284f1 Author: Johannes Thumshirn Date: Wed Jul 4 10:53:56 2018 +0200 scsi: core: switch to scsi-mq by default It has been more than one year since we tried to change the default from legacy to multi queue in SCSI with commit c279bd9e406 ("scsi: default to scsi-mq"). But due to issues with suspend/resume and performance problems it had been reverted again with commit cbe7dfa26eee ("Revert "scsi: default to scsi-mq""). In the meantime there have been a substantial amount of performance improvements and suspend/resume got fixed as well, thus we can re-enable scsi-mq without a significant performance penalty. Signed-off-by: Johannes Thumshirn Reviewed-by: Hannes Reinecke Reviewed-by: Ming Lei Acked-by: John Garry Signed-off-by: Martin K. Petersen I guess that patch can be a bit scary by itself. But IIUC it all went fine this time! But hey, if that works, that means $SUBJECT patch will enable BFQ on all libata devices and any SCSI that is single queue as well, not just "obscure" stuff like MMC/SD and UBI, and that is indeed a massive crowd of legacy devices. But we're talking v4.21 here. Johannes, you might be interested in $SUBJECT patch. It'd be nice to hear what SUSE people have to add, since they are pretty proactive in this area. Yours, Linus Walleij