aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-05-31 18:48:45 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2019-05-31 18:48:45 -0400
commit24e8a2ca1f74574ad2ed1ac7af0260dd90fd911e (patch)
treec863dd43c84579d853f3a2ae0ee6ead46c967703 /include/linux/blkdev.h
parent66f61c92889ff3ca365161fb29dd36d6354682ba (diff)
parentd724c9e54939a597592de3659541da11fc7aa112 (diff)
Merge tag 'kvm-ppc-fixes-5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into kvm-master
PPC KVM fixes for 5.2 - Several bug fixes for the new XIVE-native code. - Replace kvm->lock by other mutexes in several places where we hold a vcpu mutex, to avoid lock order inversions. - Fix a lockdep warning on guest entry for radix-mode guests. - Fix a bug causing user-visible corruption of SPRG3 on the host.
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 1aafeb923e7b..592669bcc536 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -542,7 +542,7 @@ struct request_queue {
542 struct list_head unused_hctx_list; 542 struct list_head unused_hctx_list;
543 spinlock_t unused_hctx_lock; 543 spinlock_t unused_hctx_lock;
544 544
545 atomic_t mq_freeze_depth; 545 int mq_freeze_depth;
546 546
547#if defined(CONFIG_BLK_DEV_BSG) 547#if defined(CONFIG_BLK_DEV_BSG)
548 struct bsg_class_device bsg_dev; 548 struct bsg_class_device bsg_dev;
@@ -554,6 +554,11 @@ struct request_queue {
554#endif 554#endif
555 struct rcu_head rcu_head; 555 struct rcu_head rcu_head;
556 wait_queue_head_t mq_freeze_wq; 556 wait_queue_head_t mq_freeze_wq;
557 /*
558 * Protect concurrent access to q_usage_counter by
559 * percpu_ref_kill() and percpu_ref_reinit().
560 */
561 struct mutex mq_freeze_lock;
557 struct percpu_ref q_usage_counter; 562 struct percpu_ref q_usage_counter;
558 563
559 struct blk_mq_tag_set *tag_set; 564 struct blk_mq_tag_set *tag_set;