hc
2023-11-22 983d7f83616922a6439b4352d1b3af488ee27f95
kernel/include/linux/blkdev.h
....@@ -13,6 +13,7 @@
1313 #include <linux/llist.h>
1414 #include <linux/timer.h>
1515 #include <linux/workqueue.h>
16
+#include <linux/kthread.h>
1617 #include <linux/pagemap.h>
1718 #include <linux/backing-dev-defs.h>
1819 #include <linux/wait.h>
....@@ -150,6 +151,9 @@
150151 */
151152 struct request {
152153 struct request_queue *q;
154
+#ifdef CONFIG_PREEMPT_RT_FULL
155
+ struct work_struct work;
156
+#endif
153157 struct blk_mq_ctx *mq_ctx;
154158
155159 int cpu;
....@@ -655,6 +659,7 @@
655659 #endif
656660 struct rcu_head rcu_head;
657661 wait_queue_head_t mq_freeze_wq;
662
+ struct work_struct mq_pcpu_wake;
658663 struct percpu_ref q_usage_counter;
659664 struct list_head all_q_node;
660665