diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-09 20:32:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-09 20:32:20 -0400 |
commit | 24532f768121b07b16178ffb40442ece43365cbd (patch) | |
tree | ca2eaf2c3ed031dd3aa977af95df77bfa2e18cc6 /include/linux/blk-mq.h | |
parent | 12e3d3cdd975fe986cc5c35f60b1467a8ec20b80 (diff) | |
parent | 97a32864e6de5944c6356049f60569de01e9ba1f (diff) |
Merge branch 'for-4.9/block-smp' of git://git.kernel.dk/linux-block
Pull blk-mq CPU hotplug update from Jens Axboe:
"This is the conversion of blk-mq to the new hotplug state machine"
* 'for-4.9/block-smp' of git://git.kernel.dk/linux-block:
blk-mq: fixup "Convert to new hotplug state machine"
blk-mq: Convert to new hotplug state machine
blk-mq/cpu-notif: Convert to new hotplug state machine
Diffstat (limited to 'include/linux/blk-mq.h')
-rw-r--r-- | include/linux/blk-mq.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index ef6aebf291ed..535ab2e13d2e 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h | |||
@@ -7,12 +7,6 @@ | |||
7 | struct blk_mq_tags; | 7 | struct blk_mq_tags; |
8 | struct blk_flush_queue; | 8 | struct blk_flush_queue; |
9 | 9 | ||
10 | struct blk_mq_cpu_notifier { | ||
11 | struct list_head list; | ||
12 | void *data; | ||
13 | int (*notify)(void *data, unsigned long action, unsigned int cpu); | ||
14 | }; | ||
15 | |||
16 | struct blk_mq_hw_ctx { | 10 | struct blk_mq_hw_ctx { |
17 | struct { | 11 | struct { |
18 | spinlock_t lock; | 12 | spinlock_t lock; |
@@ -53,7 +47,7 @@ struct blk_mq_hw_ctx { | |||
53 | 47 | ||
54 | struct delayed_work delay_work; | 48 | struct delayed_work delay_work; |
55 | 49 | ||
56 | struct blk_mq_cpu_notifier cpu_notifier; | 50 | struct hlist_node cpuhp_dead; |
57 | struct kobject kobj; | 51 | struct kobject kobj; |
58 | 52 | ||
59 | unsigned long poll_considered; | 53 | unsigned long poll_considered; |