Skip to content

Commit cb3a92d

Browse files
Yufen Yuaxboe
authored andcommitted
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>
1 parent 576e85c commit cb3a92d

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

include/linux/iocontext.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,6 @@ struct io_context {
106106

107107
unsigned short ioprio;
108108

109-
/*
110-
* For request batching
111-
*/
112-
int nr_batch_requests; /* Number of requests left in the batch */
113-
unsigned long last_waited; /* Time last woken after wait for request */
114-
115109
struct radix_tree_root icq_tree;
116110
struct io_cq __rcu *icq_hint;
117111
struct hlist_head icq_list;

0 commit comments

Comments
 (0)