Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5669402rwi; Tue, 18 Oct 2022 02:23:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM53q5AtH5+R3ENykjmg+2QEAkrag8/COmB5EXWntwr0azNx/jinPDGGObepvliMIodj7J2t X-Received: by 2002:a05:6402:550e:b0:456:f79f:2bed with SMTP id fi14-20020a056402550e00b00456f79f2bedmr1770338edb.106.1666085004653; Tue, 18 Oct 2022 02:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666085004; cv=none; d=google.com; s=arc-20160816; b=BsyFtiYQrcK4cF2iTm7gRVTm0a3CCOXYt1CrW0IaIQ1hHTF5mzWarBQ0f6CWrcTl02 iKuz+5ZTFeT+rj+XBBhqkEqidnaRsmf8OKoUscqYG00nj+cvDsCLF7/WPVu50i4Co1wG 2Bk7jUHurhADzWLZqiPSxCuWil1PZkwDWhFuydkrJEb4wbGiiJYNqdMgkdf4CrkzoEii +hwYOOmVg+s9kHExPTHGk3sjHus5yWYdJ+9FQYZcctbRJyXzJqnXrH3AVoTTLA6KL3xX OHS1QX32bLVBn3rIw4oGVvU4rR28Cj1iyoVORktL9SHVpXwwmyzd+mPdjo+9qX/lwl1H i5UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=V5dGkxM1ZkAhl55SodKMgmP9uHBAgzf/1ehqjAwBQSg=; b=GR3kCtlvURoE53hvb7vJCsDvsogO8fhnkpmo4rbzpQ40D0XRtabjvfWDk9nA1z8oPj lmHXicIKK65dgQy8pCA09Df8n/VoE8N0MmcKbezQ6qzi0sVZqiCLIiDhMBQqQ8nPRdRR My9D39at5dTM/wWcEuPGlYzqs7LYriHXJAB8sILwM99slQgJVBdcse6X+YUe8N7Vmot1 38quujH8+iKYYzSg9QVdiih/ouESpyMRRftrQ+0rbKIta48UqCsIqEHatUC27uBPexdI 5epf5tn3Xlr1vfi7LLixtAHeGEIZpQsAjToRo2MvoUWQ9lJycvtkccLpm5AxKyDm5d4F X9AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=n3TT8wBI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eb8-20020a0564020d0800b0045028bed6e7si13186354edb.600.2022.10.18.02.22.58; Tue, 18 Oct 2022 02:23:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=n3TT8wBI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230492AbiJRI1T (ORCPT + 99 others); Tue, 18 Oct 2022 04:27:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230149AbiJRI1N (ORCPT ); Tue, 18 Oct 2022 04:27:13 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63E5A98C89; Tue, 18 Oct 2022 01:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=V5dGkxM1ZkAhl55SodKMgmP9uHBAgzf/1ehqjAwBQSg=; b=n3TT8wBI46W/+1MsaRPGODqZ3F w/ijffxzIj6hRWARwmKYiHMKKGGfBkPNeRkppqypRpHTfC9xPqTPA0noYPrklowhf6696LAjUknZ3 S3F7Tj2RvmW/4/1VEGuUurGVorUw+GMawxeUdJsZC3OukkDo6hgKgcp3na02Knmk+d8h4i12p+09e 9S9lH4m8NMCpLAGlKWSPkUsTPFzx4rQ2a6oXUmHkW7e1XfP42u1YQDLMUIGJRlE59VDxMaUKtK6eo +XXFl19y2BxlFK4526VI9mwj8AFxCpoogHkpgwSn8sqP6H0CZ4brHEJpbUo7DAOc3b3TZ9qlYeD1C cllFc0jA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1okhwM-004O5I-Bc; Tue, 18 Oct 2022 08:27:10 +0000 Date: Tue, 18 Oct 2022 01:27:10 -0700 From: Christoph Hellwig To: Khazhy Kumykov Cc: Christoph Hellwig , Damien Le Moal , Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] block: allow specifying default iosched in config Message-ID: References: <20220926220134.2633692-1-khazhy@google.com> <7e3a521e-acf7-c3a8-a29b-c51874862344@opensource.wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 17, 2022 at 10:22:59AM -0700, Khazhy Kumykov wrote: > > > The kernel already picks and hardcodes a default scheduler, my > > > thinking is: why not let folks choose? This was allowed in the old > > > block layer since 2005. > > > > You can choose it using CONFIG_CMDLINE. We can't add a config option > > for every bloody default as that simply does not scale. > > Are you referring to elevator=? It looks like that needs to be > re-wired for blk-mq, but seems like a reasonable solution. I'll send a > new patch out. Yes, thanks!