Thread (10 messages) 10 messages, 6 authors, 2020-06-02

Re: [PATCH] block: Flag elevators suitable for single queue

From: Linus Walleij <hidden>
Date: 2020-05-28 12:00:08
Also in: linux-mmc

On Thu, May 28, 2020 at 10:26 AM Johannes Thumshirn
[off-list ref] wrote:
On 28/05/2020 10:12, Linus Walleij wrote:
quoted
diff --git a/block/mq-deadline.c b/block/mq-deadline.c
index b490f47fd553..324047add271 100644
--- a/block/mq-deadline.c
+++ b/block/mq-deadline.c
@@ -794,7 +794,8 @@ static struct elevator_type mq_deadline = {
      .elevator_attrs = deadline_attrs,
      .elevator_name = "mq-deadline",
      .elevator_alias = "deadline",
-     .elevator_features = ELEVATOR_F_ZBD_SEQ_WRITE,
+     .elevator_features = ELEVATOR_F_ZBD_SEQ_WRITE |
+     ELEVATOR_F_SINGLE_HW_QUEUE,
That indentation looks a bit odd to me but for the general concept
Yeah it's what the EMACS default "linux" indentation suggest if I
put the flag on a new line, but I can adjust to whatever the block
maintainers suggest.
Reviewed-by: Johannes Thumshirn <redacted>
Thanks man!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help