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

From: Khazhy Kumykov
Date: Mon Oct 17 2022 - 13:23:23 EST


On Mon, Oct 10, 2022 at 12:20 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> On Tue, Oct 04, 2022 at 04:15:20PM -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.

Thanks,
Khazhy