]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
block: remove struct request_queue queue_head
authorJunxiao Bi <junxiao.bi@oracle.com>
Fri, 16 Aug 2019 21:12:33 +0000 (14:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Aug 2019 14:55:10 +0000 (08:55 -0600)
The dispatch list is not used any more, as the legacy block IO stack
has been removed.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
include/linux/blkdev.h

index 834aea04718f83dfb5db98c8c0ef18717bb9a67d..5d0d7441a44387c4164cc92b3841e8fa7066ac58 100644 (file)
@@ -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);
index 167bf879f072a734dc37bf7a50c7d7b6ee21fed1..4798bb25f1ee69755f841db1ccf84fee8c568d67 100644 (file)
@@ -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;