Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1684321 > unrolled thread

elevator= seems to be confused with MQ and !MQ scheduler

Started byGabriel C <nix.or.die@gmail.com>
First post2017-07-10 17:10 +0200
Last post2017-07-10 17:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  elevator= seems to be confused with MQ and !MQ scheduler Gabriel C <nix.or.die@gmail.com> - 2017-07-10 17:10 +0200

#1684321 — elevator= seems to be confused with MQ and !MQ scheduler

FromGabriel C <nix.or.die@gmail.com>
Date2017-07-10 17:10 +0200
Subjectelevator= seems to be confused with MQ and !MQ scheduler
Message-ID<u1ItY-6DH-19@gated-at.bofh.it>
Hello,

We are allowed to build all scheduler as modules or build-in setting
defaults with
CONFIG_SCSI_MQ_DEFAULT=y/n / CONFIG_DM_MQ_DEFAULT=y/n.


Following setup:

All scheduler set to Y ( build-in )
CONFIG_DEFAULT_CFQ=y
CONFIG_SCSI_MQ_DEFAULT and CONFIG_DM_MQ_DEFAULT set to N

Boot now with elevator=some_mq_schedule

While it should not even try to use any MQ it will try to set values
from elevator and hang.

Now boot with scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y
elevator=!some_mq_schedule , hangs too.

This looks better but still some output in  dmesg is wrong:

Build scheduler M ( I have cfq mq-deadline Y to have some defaults)
CONFIG_DEFAULT_CFQ=y
CONFIG_SCSI_MQ_DEFAULT and CONFIG_DM_MQ_DEFAULT set to N

Boot with elevator=some_mq_schedule_is_module
Will give an error since it can't find the module and continue with
default cfq which is fine.
Once box is up modprobe the modules you used in elevator= and whatch
your dmesg..

So how is that meant to work now ? use elevator= only you know what
your kernel config looks like ( which probably lots users have no clue
about ) ?

Best Regards,

Gabriel C

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web