Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2231325imm; Wed, 3 Oct 2018 00:05:57 -0700 (PDT) X-Google-Smtp-Source: ACcGV613p3Auc4krzMpjuj/HzfE4mW8s9tWz2f6RwvUYiuN3unur4WZ8jJ3cMtgQgnJXULMUbreD X-Received: by 2002:a17:902:e185:: with SMTP id cd5-v6mr143546plb.224.1538550356963; Wed, 03 Oct 2018 00:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538550356; cv=none; d=google.com; s=arc-20160816; b=zgi2LM8ttCx14fuUgoe2FjlJV03+vlpOR1UDyC7MAxKOdMMM0hqia5Of37V5wP6lf4 1K2uhdXV8oylgoPRySGvTF+f73h6G9AuIThfQGeVAVWda7eoZH3DPUlhPb0CPoMfIrNa gRL3oUllHdLZwyFDKh7Fyf54TZY7rvcr9B7MVg9IIr3H67hSCrO6o8u9f1NhBW+N1nbn VI0kqRCmrYatGysZ29TvgUsNKkHklLO/2jWc2YXFwq57ysevJPU6amxvrqwoRNKksp1/ FKACvB95PGTGxxkx2HunbT1iTCZ713mz9G6wkcxgNwEjWd7h4rDPbcwUKOUjSqlwwZ+a 2DaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:reply-to:from:subject:message-id; bh=qcmpKpgYNVxbfZ3TEwfF81+0lrsQTMLq2FjAT/ZlDUM=; b=fDH6pgxJn7Sw3y67fG7uLxtBJyYLXOHYYPv8ZdpBdWTd3Ah1t8SKOXkmegSZE7Z/1D gvCwlRqOluYa+NE23Wa8jJfpt8ojWQg5SNl+LihRL8ajaWMUFgJDf0qG+YcJaDLLFG/F DUun5Cfc++Frm5D6540xZOxvAhp469+03kZCWDYwQxq2SbJdvIJ2maI0yB6q9BqWJT9f /wfJpRDheUo7nPC7YXs8QyKs1JO7QJu/FQTt+WI8oaaYtQOJB9FQTyIZkXeVZ4thl8MY +sNQO4sFciRNehzcL23HnzKzNww1FzNL/IJcIs/0krzVuMUlPFmdnQlovQpuLM06yp/u 53uA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64-v6si543584plk.257.2018.10.03.00.05.38; Wed, 03 Oct 2018 00:05:56 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726993AbeJCNwf (ORCPT + 99 others); Wed, 3 Oct 2018 09:52:35 -0400 Received: from mga04.intel.com ([192.55.52.120]:3810 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbeJCNwf (ORCPT ); Wed, 3 Oct 2018 09:52:35 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Oct 2018 00:05:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,334,1534834800"; d="scan'208";a="262431002" Received: from linux.intel.com ([10.54.29.200]) by orsmga005.jf.intel.com with ESMTP; 03 Oct 2018 00:05:30 -0700 Received: from abityuts-desk.fi.intel.com (abityuts-desk.fi.intel.com [10.237.68.39]) by linux.intel.com (Postfix) with ESMTP id 7F350580268; Wed, 3 Oct 2018 00:05:26 -0700 (PDT) Message-ID: <1538550325.14984.108.camel@gmail.com> Subject: Re: [PATCH] block: BFQ default for single queue devices From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Paolo Valente , Jens Axboe Cc: Linus Walleij , linux-block , linux-mmc , linux-mtd@lists.infradead.org, Pavel Machek , Ulf Hansson , Richard Weinberger , Adrian Hunter , Jan Kara , Andreas Herrmann , Mel Gorman , Chunyan Zhang , linux-kernel , 'Paolo Valente' via bfq-iosched , Oleksandr Natalenko , Mark Brown Date: Wed, 03 Oct 2018 10:05:25 +0300 In-Reply-To: References: <20181002124329.21248-1-linus.walleij@linaro.org> <05fdbe23-ec01-895f-e67e-abff85c1ece2@kernel.dk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 (3.26.6-1.fc27) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-10-03 at 08:29 +0200, 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? Sounds like what we just need a mechanism for the device (ubi block in this case) to select the I/O scheduler. I doubt enhancing the default scheduler selection logic in 'elevator.c' is the right answer. Just give the driver authority to override the defaults.