Thread (4 messages) 4 messages, 3 authors, 2021-03-24

[RFC] iosched: add cfq -> bfq alias

flat view

From: Xose Vazquez Perez <hidden>
Date: 2021-03-06 22:47:08
Subsystem: bfq i/o scheduler, block layer, the rest · Maintainers: Yu Kuai, Jens Axboe, Linus Torvalds

Avoid break old scrips and udev rules.
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index 95586137194e..8c6c82860a45 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c
@@ -6914,6 +6914,7 @@ static struct elevator_type iosched_bfq_mq = {
 	.icq_align =		__alignof__(struct bfq_io_cq),
 	.elevator_attrs =	bfq_attrs,
 	.elevator_name =	"bfq",
+	.elevator_alias =	"cfq",
 	.elevator_owner =	THIS_MODULE,
 };
 MODULE_ALIAS("bfq-iosched");
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help