diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/blk-mq.h | 2 | ||||
| -rw-r--r-- | include/linux/blkdev.h | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index db29928de467..15d1aa53d96c 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h | |||
| @@ -70,6 +70,8 @@ struct blk_mq_hw_ctx { | |||
| 70 | struct dentry *sched_debugfs_dir; | 70 | struct dentry *sched_debugfs_dir; |
| 71 | #endif | 71 | #endif |
| 72 | 72 | ||
| 73 | struct list_head hctx_list; | ||
| 74 | |||
| 73 | /* Must be the last member - see also blk_mq_hw_ctx_size(). */ | 75 | /* Must be the last member - see also blk_mq_hw_ctx_size(). */ |
| 74 | struct srcu_struct srcu[0]; | 76 | struct srcu_struct srcu[0]; |
| 75 | }; | 77 | }; |
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index bd3e3f09bfa0..1aafeb923e7b 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -535,6 +535,13 @@ struct request_queue { | |||
| 535 | 535 | ||
| 536 | struct mutex sysfs_lock; | 536 | struct mutex sysfs_lock; |
| 537 | 537 | ||
| 538 | /* | ||
| 539 | * for reusing dead hctx instance in case of updating | ||
| 540 | * nr_hw_queues | ||
| 541 | */ | ||
| 542 | struct list_head unused_hctx_list; | ||
| 543 | spinlock_t unused_hctx_lock; | ||
| 544 | |||
| 538 | atomic_t mq_freeze_depth; | 545 | atomic_t mq_freeze_depth; |
| 539 | 546 | ||
| 540 | #if defined(CONFIG_BLK_DEV_BSG) | 547 | #if defined(CONFIG_BLK_DEV_BSG) |
