Skip to content

Commit

Permalink
block: remove struct request_queue queue_head
Browse files Browse the repository at this point in the history
The dispatch list is not used any more, as the legacy block IO stack
has been removed.

Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Junxiao Bi <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
biger410 authored and axboe committed Aug 19, 2019

Verified

This commit was signed with the committer’s verified signature.
1 parent 6444f47 commit 988721d
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion block/blk-core.c
Original file line number Diff line number Diff line change
@@ -482,7 +482,6 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id)
if (!q)
return NULL;

INIT_LIST_HEAD(&q->queue_head);
q->last_merge = NULL;

q->id = ida_simple_get(&blk_queue_ida, 0, 0, gfp_mask);
4 changes: 0 additions & 4 deletions include/linux/blkdev.h
Original file line number Diff line number Diff line change
@@ -391,10 +391,6 @@ static inline int blkdev_reset_zones_ioctl(struct block_device *bdev,
#endif /* CONFIG_BLK_DEV_ZONED */

struct request_queue {
/*
* Together with queue_head for cacheline sharing
*/
struct list_head queue_head;
struct request *last_merge;
struct elevator_queue *elevator;

0 comments on commit 988721d

Please sign in to comment.