Re: [PATCH] block: allow specifying default iosched in config

From: Christoph Hellwig
Date: Tue Oct 18 2022 - 04:27:21 EST


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!