diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 8699bcf5f099..518b46555b80 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/bsg.h> | 21 | #include <linux/bsg.h> |
22 | #include <linux/smp.h> | 22 | #include <linux/smp.h> |
23 | #include <linux/rcupdate.h> | 23 | #include <linux/rcupdate.h> |
24 | #include <linux/percpu-refcount.h> | ||
24 | 25 | ||
25 | #include <asm/scatterlist.h> | 26 | #include <asm/scatterlist.h> |
26 | 27 | ||
@@ -470,6 +471,7 @@ struct request_queue { | |||
470 | struct mutex sysfs_lock; | 471 | struct mutex sysfs_lock; |
471 | 472 | ||
472 | int bypass_depth; | 473 | int bypass_depth; |
474 | int mq_freeze_depth; | ||
473 | 475 | ||
474 | #if defined(CONFIG_BLK_DEV_BSG) | 476 | #if defined(CONFIG_BLK_DEV_BSG) |
475 | bsg_job_fn *bsg_job_fn; | 477 | bsg_job_fn *bsg_job_fn; |
@@ -483,7 +485,7 @@ struct request_queue { | |||
483 | #endif | 485 | #endif |
484 | struct rcu_head rcu_head; | 486 | struct rcu_head rcu_head; |
485 | wait_queue_head_t mq_freeze_wq; | 487 | wait_queue_head_t mq_freeze_wq; |
486 | struct percpu_counter mq_usage_counter; | 488 | struct percpu_ref mq_usage_counter; |
487 | struct list_head all_q_node; | 489 | struct list_head all_q_node; |
488 | 490 | ||
489 | struct blk_mq_tag_set *tag_set; | 491 | struct blk_mq_tag_set *tag_set; |