We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb48d8 commit dc8cbb6Copy full SHA for dc8cbb6
include/linux/blk-mq.h
@@ -158,13 +158,13 @@ struct request {
158
159
/*
160
* The rb_node is only used inside the io scheduler, requests
161
- * are pruned when moved to the dispatch queue. So let the
162
- * completion_data share space with the rb_node.
+ * are pruned when moved to the dispatch queue. special_vec must
+ * only be used if RQF_SPECIAL_PAYLOAD is set, and those cannot be
163
+ * insert into an IO scheduler.
164
*/
165
union {
166
struct rb_node rb_node; /* sort/lookup */
167
struct bio_vec special_vec;
- void *completion_data;
168
};
169
170
0 commit comments