Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.14 ck1 additions #7

Merged
merged 5 commits into from Nov 24, 2017
Merged

4.14 ck1 additions #7

merged 5 commits into from Nov 24, 2017

Conversation

loqs
Copy link

@loqs loqs commented Nov 21, 2017

Apologies for pushing to the wrong branch previously.
811cb39 fixes an OOPS elevator=bfq/kyber/mq-deadline and queue is SQ.
This was the OOPS that hit linux-ck users in 4.12 and 4.13 who were used to using elevator=bfq
now in mainline as 2527d99 not planned for stable backport.

If you wanted to add back support for bfq to SQ device users that rest of the series is aimed at that.
Second is the BFQ-MQ series https://github.com/Algodev-github/bfq-mq adding back BFQ support under the name bfq-sq for SQ devices.

1588e6b add alias support for elevators now in mainline as 8ac0d9a

df2a75f use the alias support to add an alias of bfq for bfq-dq and deadline for mq-deadline,
mq-deadline alias now in mainline as 4d740bc

Fifth remove an upstream check preventing MQ devices being set by the elevator parameter.

axboe and others added 5 commits November 20, 2017 23:39
If an IO scheduler is selected via elevator= and it doesn't match
the driver in question wrt blk-mq support, then we fail to boot.

The elevator= parameter is deprecated and only supported for
non-mq devices. Augment the elevator lookup API so that we
pass in if we're looking for an mq capable scheduler or not,
so that we only ever return a valid type for the queue in
question.

Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=196695
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
https://github.com/Algodev-github/bfq-mq add bfq-sq
the bfq pre mainline integration so SQ devices can use bfq again.
Since we now lookup elevator types with the appropriate multiqueue
capability, allow schedulers to register with an alias alongside
the real name. This is in preparation for allowing 'mq-deadline'
to register an alias of 'deadline' as well.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
@ckolivas ckolivas merged commit 24da54e into ckolivas:4.14-ck Nov 24, 2017
@loqs loqs deleted the 4.14-ck1-additions branch November 24, 2017 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants