summaryrefslogtreecommitdiff
path: root/include/linux/iocontext.h
diff options
context:
space:
mode:
authorYufen Yu <yuyufen@huawei.com>2020-10-20 05:22:56 -0400
committerJens Axboe <axboe@kernel.dk>2020-10-20 07:10:14 -0600
commitcb3a92da231bcf55c243d00fa619ee36281b0001 (patch)
treed20af8413c486cec40c17cd84ae5f2d87f103106 /include/linux/iocontext.h
parent576e85c5e92486f1aa8be3cb1a30cb59d4415981 (diff)
block: remove unused members for io_context
After removing blk-sq code, there is no user of nr_batch_requests and last_waited in kernel. Signed-off-by: Yufen Yu <yuyufen@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/iocontext.h')
-rw-r--r--include/linux/iocontext.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h
index 1dcd9198beb7..0a9dc40b7be8 100644
--- a/include/linux/iocontext.h
+++ b/include/linux/iocontext.h
@@ -106,12 +106,6 @@ struct io_context {
unsigned short ioprio;
- /*
- * For request batching
- */
- int nr_batch_requests; /* Number of requests left in the batch */
- unsigned long last_waited; /* Time last woken after wait for request */
-
struct radix_tree_root icq_tree;
struct io_cq __rcu *icq_hint;
struct hlist_head icq_list;