block: remove struct request_queue queue_head
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>
This commit is contained in:
Родитель
6444f47eb8
Коммит
988721db93
|
@ -482,7 +482,6 @@ struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id)
|
||||||
if (!q)
|
if (!q)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
INIT_LIST_HEAD(&q->queue_head);
|
|
||||||
q->last_merge = NULL;
|
q->last_merge = NULL;
|
||||||
|
|
||||||
q->id = ida_simple_get(&blk_queue_ida, 0, 0, gfp_mask);
|
q->id = ida_simple_get(&blk_queue_ida, 0, 0, gfp_mask);
|
||||||
|
|
|
@ -391,10 +391,6 @@ static inline int blkdev_reset_zones_ioctl(struct block_device *bdev,
|
||||||
#endif /* CONFIG_BLK_DEV_ZONED */
|
#endif /* CONFIG_BLK_DEV_ZONED */
|
||||||
|
|
||||||
struct request_queue {
|
struct request_queue {
|
||||||
/*
|
|
||||||
* Together with queue_head for cacheline sharing
|
|
||||||
*/
|
|
||||||
struct list_head queue_head;
|
|
||||||
struct request *last_merge;
|
struct request *last_merge;
|
||||||
struct elevator_queue *elevator;
|
struct elevator_queue *elevator;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче