summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-07-10 10:23:05 -0600
committerJens Axboe <axboe@kernel.dk>2023-07-10 10:23:05 -0600
commitdc8cbb65dc17b0daebca84375d35ce54ff730762 (patch)
tree45c8b4dce3a369faaded27b88697f3c23e48df86 /include
parent2fb48d88e77f29bf9d278f25bcfe82cf59a0e09b (diff)
downloadlinux-stable-dc8cbb65dc17b0daebca84375d35ce54ff730762.tar.gz
linux-stable-dc8cbb65dc17b0daebca84375d35ce54ff730762.tar.bz2
linux-stable-dc8cbb65dc17b0daebca84375d35ce54ff730762.zip
block: remove dead struc request->completion_data field
It's no longer used. While in there, also update the comment as to why it can coexist with the rb_node. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/blk-mq.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index 2b7fb8e87793..b96e00499f9e 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -158,13 +158,13 @@ struct request {
/*
* The rb_node is only used inside the io scheduler, requests
- * are pruned when moved to the dispatch queue. So let the
- * 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
+ * insert into an IO scheduler.
*/
union {
struct rb_node rb_node; /* sort/lookup */
struct bio_vec special_vec;
- void *completion_data;
};
/*