Skip to content

Unable to set BFQ #107

Closed
Closed

Description

@guzzard

I'm unable to set IO scheduler BFQ. Bug or am I missing something?

Kernel: 4.12.5-1-zen #1 ZEN SMP PREEMPT Sun Aug 6 23:14:47 UTC 2017 x86_64 GNU/Linux

$ dmesg | grep -i bfq
[ 1.079744] io scheduler bfq registered

# echo bfq > /sys/block/sdc/queue/scheduler
bash: echo: write error: Invalid argument

$ cat /sys/block/sdc/queue/scheduler
noop deadline [cfq]

BFQ is not listed, and not possible to set it as scheduler?

Activity

  1. heftig commented on Aug 15, 2017

    @heftig

    In 4.12, the MQ version of BFQ was mainlined. Unfortunately, the BFQ developers have not released patches to add the non-MQ version to 4.12.

    If you want to use BFQ MQ, add scsi_mod.use_blk_mq=1 to your kernel command line. However, I consistently get hard lockups with MQ and heavy disk usage (no matter the scheduler) so I advise against this.

  2. guzzard commented on Aug 15, 2017

    @guzzard
    Author

    @heftig understood! Many thanks for the quick reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions