Skip to content

Are include/linux/elevator.h or block/bfq-mq-iosched.c out of date? #108

Closed

Description

@d3adb5

I get the following errors while compiling:

block/bfq-mq-iosched.c:5558:4: error: 'struct elevator_mq_ops' has no member named 'prepare_request'; did you mean 'requeue_request'?
block/bfq-mq-iosched.c:5559:4: error: 'struct elevator_mq_ops' has no member named 'finish_request'; did you mean 'former_request'?

The two members are present in torvalds/linux's include/linux/elevator.h, but not in this repo's, so I imagine either the header is out of date or changes weren't taken into account for block/bfq-mq-iosched.c.

I know next to nothing about the inner workings of the base or zen kernel, so please let me know if I'm talking out of my ass here and I screwed something up.

Activity

  1. heftig commented on Aug 26, 2017

    @heftig

    Yes, MQ_IOSCHED_BFQ is broken. IOSCHED_BFQ_SQ and IOSCHED_BFQ should build, though.

  2. heftig commented on Jan 24, 2018

    @heftig

    Fine since 4.14.

  3. added a commit that references this issue on Dec 5, 2019
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