Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp550151ybi; Fri, 24 May 2019 07:49:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQLL4yVWPx+NQNBap7Ka8L9JyNtyN/IF9yaguGxYrkGb7dbonF4J8QJ9XXkWjavUhX2cHN X-Received: by 2002:a17:90a:cf18:: with SMTP id h24mr9882399pju.63.1558709342472; Fri, 24 May 2019 07:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558709342; cv=none; d=google.com; s=arc-20160816; b=jZqmGv7u5fBsXJU8XIzWi2DaObyyyngDUjxjWLNVIcirE6zf5c7Iw1Z8zoUAwWn9GY SrXjKi8GcWVt83TRPOXVivMaK72ekLcZi/RLaNT86/QCPDXAsQCSwtDZpCWoYXWM67q2 2LoDj4Hpwrq6pUOZYSb6DEKp+RlH3068sbVWI5iceytl8ctBMN/jQsbA9xWSKi3I1u/X MIhA8R4PeWLa5GaQXWWkoQkfl8YP+IbaqCTOsGYUFVycUwoQ2ppD2mzTCa5gpbdclpjb VfjOYEngD4Zu6wLCow4B4c5ot+yABCyagzl8mRXT8CZn9uLvQq7r9V0cVOv+adSfV9de vKzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=AN3mO7kM6Uu2dwHOR3GimXe43E/+latbrXrkODx+H1U=; b=eKc7Rez0DK4m2Bp1fPxJ5DpOID4Ssj8P53XtC1Gh332LkCo5Pg0sjkQX+FxkxxW62X TmP9CvVLK0rCh+3sJcZG6lEr3niGaGcZKW23yyusjfup5+HSff1ggN0xkvOE9kSUk4pJ YRiAjfspJKBe5/4jD88dPlq+J2Ps2v/CPdsU01e/MavIpAOz5J3MlBF+iVhkmPZ+zsgB zPAciA31EHUZszx+lU3AZuiK+UA3i6HELM7YD+DzCddK6Uw8tOnQ2GmvNqIANTI05ZHc X5r3zPCs7uYJNL1TbhTjHlrYdaDuU2EAgRRG1BaBy3d+VrkR1oCaNxCFaRpxmR6+DbqA kHSA== 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si4436016plp.404.2019.05.24.07.48.46; Fri, 24 May 2019 07:49:02 -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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404167AbfEXOq6 (ORCPT + 99 others); Fri, 24 May 2019 10:46:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38954 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403997AbfEXOq5 (ORCPT ); Fri, 24 May 2019 10:46:57 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C7F4281110; Fri, 24 May 2019 14:46:57 +0000 (UTC) Received: from segfault.boston.devel.redhat.com (segfault.boston.devel.redhat.com [10.19.60.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E9A552CFD6; Fri, 24 May 2019 14:46:54 +0000 (UTC) From: Jeff Moyer To: Alexey Dobriyan Cc: axboe@kernel.dk, ming.lei@redhat.com, osandov@fb.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Setting up default iosched in 5.0+ References: <20190518093310.GA3123@avx2> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 Date: Fri, 24 May 2019 10:46:54 -0400 In-Reply-To: <20190518093310.GA3123@avx2> (Alexey Dobriyan's message of "Sat, 18 May 2019 12:33:11 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 24 May 2019 14:46:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Alexey, Alexey Dobriyan writes: > 5.0 deleted three io schedulers and more importantly CONFIG_DEFAULT_IOSCHED > option: > > commit f382fb0bcef4c37dc049e9f6963e3baf204d815c > block: remove legacy IO schedulers > > After figuring out that I silently became "noop" customer enabling just > BFQ didn't work: "noop" is still being selected by default. > > There is an "elevator=" command line option but it does nothing. > > Are users supposed to add stuff to init scripts now? A global parameter was never a good idea, because systems often have different types of storage installed which benefit from different I/O schedulers. The goal is for the default to just work. If you feel that the defaults don't work for you, then udev rules are the way to go. If you also feel that you really do want to set the default for all devices, then you can use the following udev rule to emulate the old elevator= kernel command line parameter: https://github.com/lnykryn/systemd-rhel/blob/rhel-8.0.0/rules/40-elevator.rules Cheers, Jeff