Thread (11 messages) flat view 11 messages, 4 authors, 2021-07-22

Re: [PATCH V5 2/3] blk-mq: mark if one queue map uses managed irq

From: John Garry <hidden>
Date: 2021-07-21 18:53:31

On 21/07/2021 10:17, Ming Lei wrote:

FWIW,

Reviewed-by: John Garry <redacted>
quoted hunk ↗ jump to hunk
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index 1d18447ebebc..d54a795ec971 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -192,7 +192,8 @@ struct blk_mq_hw_ctx {
  struct blk_mq_queue_map {
  	unsigned int *mq_map;
  	unsigned int nr_queues;
-	unsigned int queue_offset;
+	unsigned int queue_offset:31;
+	unsigned int use_managed_irq:1;
late nit: I'd be inclined to call this "drain_hw_queue" or similar, 
which is what it means to blk-mq
  };
Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help